summaryrefslogtreecommitdiff
path: root/lib/assertions/activate.pm
blob: 0ce73f33163c823750a7ecf54ae8725756c39d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package assertions::activate;

our $VERSION = '0.01';

# use strict;
# use warnings;

sub import {
    shift;
    @_='.*' unless @_;
    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 FandiE<ntilde>o, E<lt>sfandino@yahoo.comE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright 2002 by Salvador FandiE<ntilde>o

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut