RE: How To Reload a Package/Module

2004-06-29 Thread Peter Guzis
You could try Module::Reload::Selective from CPAN. If you do repeatedly reload your module keep an eye on memory utilization. I do not believe the memory allocated to Perl will be reclaimed until your program exits. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email:

Re: How To Reload a Package/Module

2004-06-29 Thread Dirk Bremer \(NISC\)
This has been an interesting exercise of the Camel book. What I finally found and what seems to satisfy my requirements is to do the following in the master program: our %the_shared_hash; do 'the_module.pm'; import the_module; I have tested this by altering the contents of the module while the

comparing srtings

2004-06-29 Thread Nex6
I am trying to Compare 2 strings for an if statement in an admin script. $slurp is an entire file, and $file is a name. what i would like to do is compare the 2, basicly saying if this = that do this otherwise do this. i have the if statement and stuff right i just need help with the compare.

RE: comparing srtings

2004-06-29 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: I am trying to Compare 2 strings for an if statement in an admin script. $slurp is an entire file, and $file is a name. what i would like to do is compare the 2, basicly saying if this = that do this otherwise do this. i have the if statement and stuff right i just

RE: Using WMI to obtain workstation software inventory

2004-06-29 Thread Matt Bazan
Hmmm, Ok. So what's a good method of getting a software inventory done remotely? -Original Message- From: Grakowsky, Richard (ETS: Communications and Network Services) [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 11:02 AM To: Matt Bazan; [EMAIL PROTECTED] Subject: RE:

RE: comparing srtings

2004-06-29 Thread Stuart Arnold
Try: if ($file eq $usr) since your comparing strings. FYI, the single = is an assignment, -vs- == -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nex6 Sent: Wednesday, June 30, 2004 7:00 AM To: perl-win32-users Subject: comparing srtings I am

RE: Using WMI to obtain workstation software inventory

2004-06-29 Thread Solli Moreria Honorio
http://www.perlmonks.com/index.pl?node_id=347786 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Bazan Sent: terça-feira, 29 de junho de 2004 14:45 To: [EMAIL PROTECTED] Subject: Using WMI to obtain workstation software inventory Hi, The

RE: Perl with Tomcat Problem!!!

2004-06-29 Thread Shroff, Aatish Anupam
Now I seem to have another problem. I somehow managed to get the system call to work. But in the perl script I am calling through the system call, I get the following error. This is where the following error occurs: $ftp = Net::FTP-new($ftp_addr) or die Could not create FTP connection: $@;