Use the File::Copy; module. It has the
function Move and Copy.
Merijn
- Original Message -
From:
THOMAS,ANN
(Non-HP-Singapore,ex1)
To: '[EMAIL PROTECTED]'
Sent: Tuesday, September 10, 2002 11:56
AM
Subject: [Perl-unix-users] How to copy a
file?
Hi,
have a look at the use Getopt::Long; module, it
handles this pretty nicely.
example:
use Getopt::Long;
&GetOptions("source=s" => \$sourcedir,"help"
=> \$help);
if($help){ print "commandline
parameters:\n"; print "
-help : this
help\n"; print " -source : source
d
Hello all,
I am running perl 5.8.0 on linux and i am using the Mail::Sender module.
Whenever I use this module i get the following warning:
Unknown PerlIO layer 'raw:perlio' at
/usr/lib/perl5/site_perl/5.8.0/Mail/Sender.pm line 21
It seems this is something caused by perl version 5.8.0 because t
Ah thank you for the fast response.
As I am using perl on linux i could remove this completely, right?
Greetings, Merijn
> From: "Merijn van den Kroonenberg"
> > I am running perl 5.8.0 on linux and i am using the Mail::Sender
> > module. Whenever I use this module i
$starttime_script = $^T;
substract that from the current time, and you have your running time.
greetings, Merijn
- Original Message -
From: "Roman @ Melihhov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 10:05 PM
Subject: [Perl-unix-users] Running time
Hello all,
I am accessing a filesystem from different servers
over NFS. Now i want to lock files while i access them (using flock). Now i have
one problem, flock only works on a filehandle. Most of the time I dont have
access to a filehandle because the filesystem access is handled in a mod