Re: [Perl-unix-users] Installing a new module

2002-11-07 Thread $Bill Luebkert
[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

RE: [Perl-unix-users] setting environmental variables

2002-11-07 Thread Rumpf, Christopher
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

[Perl-unix-users] How to get the MAC address

2002-11-07 Thread Williams, P. Lane
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

Re: [Perl-unix-users] Installing a new module

2002-11-07 Thread Bayard Bell
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

RE: [Perl-unix-users] Installing a new module

2002-11-07 Thread Arnold, Craig
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-

[Perl-unix-users] Installing a new module

2002-11-07 Thread pasev
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

Re: [Perl-unix-users] how to copy a file on windows

2002-11-07 Thread Jenda Krynicky
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

[Perl-unix-users] how to copy a file on windows

2002-11-07 Thread Michael Meltzer
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