in reply to goto superclass method
You were almost there, just give that goto code dereference a code reference as produced by can e.g
Sorry if this repeats what was said above but all those replies were making me cross-eyed.sub dostuff { goto &{ $_[0]->can('SUPER::dostuff') } if $condition; # ... }
HTH
_________
broquaint
In Section
Seekers of Perl Wisdom