Is this bad practice? Will it hurt anything? (I assume "no" to both questions, but I could be wrong.)I don't think so, unless these modules do something really strange. In which case you would probably already know from their documentation. See e.g.:
which gives me#! /usr/bin/perl -l use strict; use warnings; use lib sub { print pop; undef }; use File::Find; use File::Basename; use File::Find; __END__
File/Find.pm warnings/register.pm Cwd.pm vars.pm XSLoader.pm File/Basename.pm re.pm File/Spec.pm File/Spec/Unix.pm Scalar/Util.pm List/Util.pm DynaLoader.pm AutoLoader.pm
In reply to Re: Using a module more than once
by blazar
in thread Using a module more than once
by kwaping
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |