in reply to Does AUTOLOAD exist?
No output, just as expected.$ mkdir -p Test/Pkg $ echo 'package Thing; 1' > Test/Pkg/Thing.pm $ perl -w require Test::Pkg::Thing; my $func_name = "Test::Pkg::Thing::AUTOLOAD"; if( defined &$func_name ) # not what I expect { print "defined!\n"; } __END__ $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Does AUTOLOAD exist?
by xevian (Sexton) on Oct 12, 2005 at 15:59 UTC |