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:
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
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.
[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
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:
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
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
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:
$@;