X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=README;h=58b2590fefaa6d05af1d1d98f3a47da9eaea7783;hb=202c2da3c787f5d6f1c71b16594dc543336b40f6;hp=9d301bd6fb7aa84f7bba1af745d2190994fe9f46;hpb=bfb85519592a4c0212420c12dc1dc9bb14888db2;p=perl%2Fmodules%2Fsubs-auto.git diff --git a/README b/README index 9d301bd..58b2590 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME subs::auto - Read barewords as subroutine names. VERSION - Version 0.02 + Version 0.04 SYNOPSIS { @@ -16,7 +16,7 @@ SYNOPSIS foo->meth; # "'foo'->meth" if you have use'd foo somewhere, # or "foo()->meth" otherwise print foo 'wut'; # print to the filehandle foo if it's actually one, - # or "foo()->print('wut')" otherwise + # or "print(foo('wut'))" otherwise } # ... but function calls will fail at run-time if you don't # actually define foo somewhere @@ -32,9 +32,15 @@ DESCRIPTION * "in => $pkg" - Specifies on which package the pragma should act. Defaults to the + Specifies on which package the pragma should act. Setting $pkg to + "Some::Package" allows you to resolve all functions name of the type + "Some::Package::func ..." in the current scope. You can use the + pragma several times with different package names to allow + resolution of all the corresponding barewords. Defaults to the current package. + This module is not a source filter. + EXPORT None.