Revision history for subs-auto
+0.02 2008-08-28 14:50 UTC
+ + Add : The 'in' parameter.
+ + Fix : Add exceptions for __FILE__, __LINE__ and DATA.
+
0.01 2008-08-27 21:10 UTC
First version, released on an unsuspecting world.
subs::auto - Read barewords as subroutine names.
VERSION
- Version 0.01
+ Version 0.02
SYNOPSIS
{
(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.
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.