in reply to Can not remove 'redefined' warning
warnings.pm has lexical scope and so your use of it has no impact on the actual assignment code inside of overload.pm.
package Math::BigInt; no overload '*'; use overload '*' => sub { ... };
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can not remove 'redefined' warning (no)
by grondilu (Friar) on Jun 08, 2012 at 14:13 UTC |