either this, or use Damian's NEXT module.sub AUTOLOAD { no strict; my $METHOD; ($METHOD = $AUTOLOAD) =~ s/.*:://; foreach my $PARENT (@ISA) { if(defined &{$PARENT.'::'.$METHOD}) { goto &{$PARENT.'::'.$METHOD} } } }
cheers,
Aldo
King of Laziness, Wizard of Impatience, Lord of Hubris
In reply to Re: Re: Re: $functions xor $methods
by dada
in thread $functions xor $methods
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |