There's more than one way to do things | |
PerlMonks |
Re^2: Why " subroutined redefined" warning comes?by jdtoronto (Prior) |
on Nov 04, 2006 at 19:52 UTC ( [id://582267]=note: print w/replies, xml ) | Need Help?? |
Obviously Spinner.pm is exporting the function into the MAIN namespace. Stop it exporting, then you can do:
and you don't have a duplicate. Depending on the internals of Spinner, you may be able to do: to stop it importing into the MAIN namespace.
In Section
Seekers of Perl Wisdom
|
|