Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Using a module more than once by kwaping
|
|