in reply to Re: Autoloading and anonymous subs
in thread Autoloading and anonymous subs
And it's always the main package:
package Foo; sub AUTOLOAD { __PACKAGE__ } print $foo->(); package main; sub AUTOLOAD { __PACKAGE__ } __END__ main
I just can't find the documentation for this behaviour.
-- Frank
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Autoloading and anonymous subs
by shmem (Chancellor) on Jun 27, 2007 at 23:12 UTC |
In Section
Seekers of Perl Wisdom