in reply to Re^2: "Overriding" functions?
in thread "Overriding" functions?
use warnings; no warnings "redefine";
Just to be on the safe side,
{ no warnings "redefine"; sub that_must_be_redefined { ... } }
If wanting to be very very picky...
{ my $redefined = sub { ... } no warnings "redefine"; *that_must_be_redefined = $redefined; }
|
|---|