![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Carp can't deal with UNIVERSAL::AUTOLOADby derby (Abbot) |
on Jun 07, 2006 at 16:50 UTC ( #554092=note: print w/replies, xml ) | Need Help?? |
Maybe because UNIVERSAL is the base class for all classes and bar is not a method but a subroutine. Maybe ... your code works fine for my version of perl (5.8.2) but I do get a deprecation warning -- Use of inherited AUTOLOAD for non-method main::bar() is deprecated.
-derby
In Section
Seekers of Perl Wisdom
|
|