in reply to Hiding the Module 'Path'
I would say this is not good. Not only is there the namespace conflicts issue you mentioned, but there is also an issue of how use works. use MODULE; is equivilent to BEGIN { require MODULE; MODULE->import(); }. This shortcut makes it so use will not be able to run the import method on the module in question, which can greatly affect how a module works. (I am, of course, assuming that these modules being "short-cutted" are really define packages whose name begins with SnortSnarf:: or whatever.)
|
---|
In Section
Seekers of Perl Wisdom