[EMAIL PROTECTED] wrote:
Hellohello!
I don?t have the root permissions for the server that I?m running my
scripts from, and I need a module that does not exist on the server.
One way is to ask for the administrator to add the module to the server,
but is there any other way to resolve this pro
Sure - Here is the script:
#!/usr/local/bin/perl
$ENV{P} = "Hello World" ;
print "\nEnvironment Variable P = $ENV{P}\n\n" ;
print "In this shell type \'echo \$P\'\n" ;
$pid = system("$ENV{SHELL}") ;
waitpid($pid,0) ;
print "\n$0 is now compl
I am attempting to write a script that will pull port and MAC information
from a cisco switch, and scan a subnet to acquire MAC address and machine
names. Then cross correlate the information to match the machine to its
cisco port. What I was wondering is how can I get the MAC information from
th
This is very much an issue of the way your Unix environment is built.
You can always build a module in your home directory for testing, but
running production code with a dependency on your home directory is
arguably a very broken dependency. If you need to use the module out of
your home directo
You can install in a local directory and use it via a couple of methods.
The first is to set the PERLLIB or PERL5LIB environment variables to include
the new directory.
The second is to put a "use lib ;" in each script that uses it.
See perldoc perlrun for more info.
-Original Message-
Hellohello!
I don?t have the root permissions for the server that I?m running my
scripts from, and I need a module that does not exist on the server.
One way is to ask for the administrator to add the module to the server,
but is there any other way to resolve this problem? Like install the
mo
From: Michael Meltzer <[EMAIL PROTECTED]>
> I am new to perl.
> on a windows box i want to copy a file to an UNC path.
> on ActiveState I searched for modules win32::filecopy but coundn't
> find it. so were can this modul be found or should I use a different
> modul ?
File::Copy
hi
I am new to perl.
on a windows box i want to copy a file to an UNC path.
on ActiveState I searched for modules win32::filecopy but coundn't find it.
so were can this modul be found or should I use a different modul ?
I am using active perl from ActiveState v 5.6.0
thanks in advance
Michael