http://qs1969.pair.com?node_id=480222

kwaping has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I wrote a module for use in-house that uses methods from various CPAN modules. I don't want to rely on other developers who use my module to include the "use" statements for the required CPAN modules in their programs, so I put a "use" statement for each CPAN module inside my methods as needed.

Is this bad practice? Will it hurt anything? (I assume "no" to both questions, but I could be wrong.)

Also, will any problems (or benefits) arise from developers adding "use" statements for the same CPAN modules in their own programs?

I've tried a SuperSearch with no luck, just to head that off.