summaryrefslogtreecommitdiff
path: root/lib/assertions/activate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/assertions/activate.pm')
-rw-r--r--lib/assertions/activate.pm52
1 files changed, 52 insertions, 0 deletions
diff --git a/lib/assertions/activate.pm b/lib/assertions/activate.pm
new file mode 100644
index 0000000000..d019b77aee
--- /dev/null
+++ b/lib/assertions/activate.pm
@@ -0,0 +1,52 @@
+package assertions::activate;
+
+our $VERSION = '0.01';
+
+# use strict;
+# use warnings;
+
+sub import {
+ shift;
+ push @{^ASSERTING}, ( map { qr/^$_$/ } @_) ;
+}
+
+1;
+__END__
+
+=head1 NAME
+
+assertions::activate - assertions activation
+
+=head1 SYNOPSIS
+
+ use assertions::activate 'Foo', 'bar', 'Foo::boz::.*' ;
+
+=head1 ABSTRACT
+
+C<assertions::activate> module is used to configure assertion
+execution.
+
+=head1 DESCRIPTION
+
+
+
+=head2 EXPORT
+
+None by default.
+
+=head1 SEE ALSO
+
+L<assertions>
+
+=head1 AUTHOR
+
+Salvador Fandiņo, E<lt>sfandino@yahoo.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2002 by Salvador Fandiņo
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut