How about this?
Package GetoptReplacer; sub foo { } sub bar { } our $baz; # magic! my %g = %Getopt::; %Getopt:: = %GetoptReplacer::; our $AUTOLOAD; sub AUTOLOAD { goto &$g{$AUTOLOAD}; } # less magic 1;
I don't know if this will catch fire, but there it is.
In reply to Re: Reversing (some of) inheritance
by ursus
in thread Reversing (some of) inheritance
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |