rir has asked for the wisdom of the Perl Monks concerning the following question:
update: corrected misspelling of supersede to avoid propagating the error.
rir
I can't find the syntax to make supercede supersede work.
Be well,sub asub ( $ace, $deuce?, $trey? ) { say "$ace $deuce $trey"; } use Test; supersede sub asub( $ace, $deuce?, $trey? ) { # XXX die "asub"; } my $derr; try { asub( 1, 2, 3); CATCH { $derr = $!; } } ok( $derr eq "asub", "asub died" );
rir
Back to
Seekers of Perl Wisdom