in reply to Carp can't deal with UNIVERSAL::AUTOLOAD
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