Hi, wizards.

I went through my dead-tree library, CPAN, and other places, and found nothing 
that answers this question, so I'm going to kick it out to the community...

Question one: I've inherited a program (if it matters, the program's compiled 
to an executable, rather than run by the interpreter) that uses about a dozen 
different modules and, picky soul that I am, I'd like to list them in 
alphabetic order rather than all higgledy-piggledy as they are now. Is the 
order in which modules are use-ed significant? That is, is there a 
difference-either at compile time or at run-time-between this list:
Use Win32;
use Win32::Process;
use Win32::API;
use Win32::AdminMisc;
use Win32::GUI;
use Win32::TieRegistry;
use Win32::Service;
use Win32::Sound;
use Getopt::Std;
use File::Copy;
use File::Content;

And this list:
use File::Content;
use File::Copy;
use Getopt::Std;
Use Win32;
use Win32::API;
use Win32::AdminMisc;
use Win32::GUI;
use Win32::Process;
use Win32::Service;
use Win32::Sound;
use Win32::TieRegistry;

I know, it's entirely cosmetic, but, as James Cagney said in "The Strawberry 
Blonde", "that's just the kind of hairpin I am."

Question two: In the code's library list, use Win32::Process appears twice. Is 
this necessary? Is it okay? Is it justifiable?  The code works with the double 
use statement, so I'm guessing it's okay. Just wondering if removing the second 
invocation would be a problem rather than a solution.

Thanks, O Wise Ones.

Deane Rothenmaier
Programmer/Analyst - IT-StdCfg
Walgreens Corp.
2 Overlook Point #N51022D
MS 6515
Lincolnshire, IL 60069
224-542-5150

Vincit qui patitur. -- Persius

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to