Hi All,
flock doesn't work when I am running flock to file x from different machines.
What I mean:
I am running flock from machine XXX on file z
If I try to write to file z from machine YYY I succeed.
Do you know mechanism like flock that work on several machines ?
Amit
--
To unsubscribe
just do
$a ="abcdef";
@asplit = split //,$a;
Amit
-Original Message-
From: Raja Gopal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:41 AM
To: [EMAIL PROTECTED]
Subject: splitting the string.
Hello Perl Experts,
I want to split the string $a ="abcdef";
as @asplit =
Hi All,
How can I check if directory is older then X days/hours
thanks
Amit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I need to compare between two Associative Arrays
How can I do it ?
Is there a better way then insert all values in regular arrays
and to compare between the two ?
Amit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I want to compare between two arrays.
How can I do it ?
One way I know is :
$a = (join " ",@a);
$b = (join " ",@b);
if ($b eq $a) { print "equal";}
I am looking for better way.
thanks
amit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
hi,
perl -p -i -e 'undef $_ if //'
Amit
-Original Message-
From: Prasanthi Tenneti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:40 PM
To: [EMAIL PROTECTED]
Subject: Remove a line
hi,
how to remove a line from a file?
pls help me.
thank you.
prasanthi.
--
To
hi,
perl -p -i -e 'undef $_ if /$line/'
Amit
-Original Message-
From: Prasanthi Tenneti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:40 PM
To: [EMAIL PROTECTED]
Subject: Remove a line
hi,
how to remove a line from a file?
pls help me.
thank you.
prasanthi.
--
Hi All,
I want to get the name of the user that run the script.
How can I do it ?
Amit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]