From: Vincent Pit Date: Thu, 28 Aug 2008 14:33:22 +0000 (+0200) Subject: Document the 'in' parameter X-Git-Tag: v0.02~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fsubs-auto.git;a=commitdiff_plain;h=3f026b006201df2892e7eb8540951eece249ba82;hp=9bb6a20aa33aaac83290822b760963af86147263 Document the 'in' parameter --- 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 {