X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fsubs-auto.git;a=blobdiff_plain;f=README;h=9d301bd6fb7aa84f7bba1af745d2190994fe9f46;hp=674535ce4fa6ddc4fa36a5de8d0e87b8250d4026;hb=bfb85519592a4c0212420c12dc1dc9bb14888db2;hpb=2eb9d5be03064d80f409fe0e56b2bbf8905e61fb diff --git a/README b/README index 674535c..9d301bd 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME subs::auto - Read barewords as subroutine names. VERSION - Version 0.01 + Version 0.02 SYNOPSIS { @@ -28,6 +28,13 @@ DESCRIPTION (expected to be class names) or whose symbol table entry has a IO slot (expected to be filehandles). + You can pass options to "import" as key / value pairs : + + * "in => $pkg" + + Specifies on which package the pragma should act. Defaults to the + current package. + EXPORT None. @@ -41,6 +48,10 @@ CAVEATS outside (or by actually defining "foo", which is ultimately why you use this pragma, right ?). + You have to open global filehandles outside of the scope of this pragma + if you want them not to be treated as function calls. Or just use + lexical filehandles and default ones as you should be. + DEPENDENCIES perl 5.10.0.