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; }
In reply to Re^3: "Overriding" functions?
by blazar
in thread "Overriding" functions?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |