subs::auto - Read barewords as subroutine names.
VERSION
- Version 0.03
+ Version 0.05
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
DESCRIPTION
This pragma lexically enables the parsing of any bareword as a
subroutine name, except those which corresponds to an entry in %INC
- (expected to be class names) or whose symbol table entry has a IO slot
+ (expected to be class names) or whose symbol table entry has an IO slot
(expected to be filehandles).
You can pass options to "import" as key / value pairs :
resolution of all the corresponding barewords. Defaults to the
current package.
+ This module is not a source filter.
+
EXPORT
None.
AUTHOR
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
- You can contact me by mail or on #perl @ FreeNode (vincent or
- Prof_Vince).
+ You can contact me by mail or on "irc.perl.org" (vincent).
BUGS
Please report any bugs or feature requests to "bug-subs-auto at