It's not exactly the same as you want, though (but it also happens at runtime).sub AUTOLOAD { (my $meth = our $AUTOLOAD) =~ s/([^:]+)$/$1/; if ( $meth =~ /^is_/ ) { return; } else { die "No such subroutine '$meth''"; } }
In reply to Re: Redispatching AUTOLOAD for failure
by moritz
in thread Redispatching AUTOLOAD for failure
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |