subs::auto - Read barewords as subroutine names.
VERSION
- Version 0.02
+ Version 0.04
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
* "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.