in reply to Using a module more than once
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using a module more than once
by VSarkiss (Monsignor) on Aug 02, 2005 at 16:27 UTC | |
by blazar (Canon) on Aug 02, 2005 at 16:34 UTC | |
Re^2: Using a module more than once
by kwaping (Priest) on Aug 02, 2005 at 15:32 UTC |