X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsubs%2Fauto.pm;h=c5ef078af547f10148289d00fcda0c455677a20c;hb=3f026b006201df2892e7eb8540951eece249ba82;hp=c0beebe8d10dab298246591a33d1d34d9f846381;hpb=9bb6a20aa33aaac83290822b760963af86147263;p=perl%2Fmodules%2Fsubs-auto.git diff --git a/lib/subs/auto.pm b/lib/subs/auto.pm index c0beebe..c5ef078 100644 --- a/lib/subs/auto.pm +++ b/lib/subs/auto.pm @@ -45,6 +45,18 @@ our $VERSION = '0.01'; This pragma lexically enables the parsing of any bareword as a subroutine name, except those which corresponds to an entry in C<%INC> (expected to be class names) or whose symbol table entry has a IO slot (expected to be filehandles). +You can pass options to C as key / value pairs : + +=over 4 + +=item * + +C<< in => $pkg >> + +Specifies on which package the pragma should act. Defaults to the current package. + +=back + =cut BEGIN {