Perl: the Markov chain saw | |
PerlMonks |
Re^5: brian's Guide to Solving Any Perl Problemby demerphq (Chancellor) |
on Feb 07, 2005 at 17:54 UTC ( [id://428764]=note: print w/replies, xml ) | Need Help?? |
I think you've totally missed my points here. Im not saying that you shouldnt be able to do things that can blow your foot off. Im saying that if you want to avoid certain problems you should use the techniques that really help you avoid them and not use techniques that introduce just as bad, but harder to track down issues. My point in simple is just: to avoid namespace clashes in your code you should use the module and you should EXPLICITLY import the subs you need. If you manage to explicitly import two different identially named subs then I dont think any amount of advice can help you, although the handy "sub redefined" warning will let you know the error of your ways. In short: I consider using FQ sub calling to be just as bad as implicitly importing them (actually IMO its worse).
--- demerphq
In Section
Meditations
|
|