X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstrictures.pm;h=68ca44c2a7583cb9f5844f662d512bb3efe71f8f;hb=eae006ee3476346901d8edb6c73b1fed4a98c766;hp=f1490544a514339455d4744ec5beee37e3abf9e4;hpb=394c3a465392be170c22d19d05bb76ad4618007f;p=p5sagit%2Fstrictures.git diff --git a/lib/strictures.pm b/lib/strictures.pm index f149054..68ca44c 100644 --- a/lib/strictures.pm +++ b/lib/strictures.pm @@ -25,7 +25,7 @@ sub import { }; if ($do_indirect) { if (eval { require indirect; 1 }) { - indirect->unimport('FATAL'); + indirect->unimport(':fatal'); } else { die "strictures.pm extra testing active but couldn't load indirect.pm: $@"; } @@ -105,3 +105,48 @@ when its version is tested to ensure that will continue to only introduce the current set of strictures even if 2.0 is installed. + +=head1 METHODS + +=head2 import + +This method does the setup work described above in L + +=head2 VERSION + +This method traps the strictures->VERSION(1) call produced by a use line +with a version number on it and does the version check. + +=head1 COMMUNITY AND SUPPORT + +=head2 IRC channel + +irc.perl.org #toolchain + +(or bug 'mst' in query on there or freenode) + +=head2 Git repository + +Gitweb is on http://git.shadowcat.co.uk/ and the clone URL is: + + git clone git://git.shadowcat.co.uk/p5sagit/strictures.git + +=head1 AUTHOR + +Matt S. Trout + +=head1 CONTRIBUTORS + +None required yet. Maybe this module is perfect (hahahahaha ...). + +=head1 COPYRIGHT + +Copyright (c) 2010 the strictures L and L +as listed above. + +=head1 LICENSE + +This library is free software and may be distributed under the same terms +as perl itself. + +=cut