t;[EMAIL PROTECTED]>
To: ">" < <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 8:16 PM
Subject: pulling file name into perl
I am wanting to get a unix directory file listing and put it into a Perl
array. I attempted
$date = system "ls -al | grep filename.txt";
H
eep! I am referring to the system() call there... :)
-- Forwarded message --
Date: Fri, 1 Feb 2002 09:09:50 +0530 (IST)
From: Deen Hameed <[EMAIL PROTECTED]>
To: Russell Boyd <[EMAIL PROTECTED]>
Cc: "<" <[EMAIL PROTECTED]>
Subject: Re: pulling f
Hi Russell,
It executes a command and returns the EXIT STATUS of the command.
If you look in $date, you will find the exit status of "ls ..." as
returned by the wait() call.
deen
On Thu, 31 Jan 2002, Russell Boyd wrote:
> I am wanting to get a unix directory file listing and put it into a P
: <
Subject: pulling file name into perl
I am wanting to get a unix directory file listing and put it into a Perl
array. I attempted
$date = system "ls -al | grep filename.txt";
However all this did was send it to .
What am I missing?
Thanks,
Russell
--
To unsubscribe, e-mail: [EM
I am wanting to get a unix directory file listing and put it into a Perl array. I
attempted
$date = system "ls -al | grep filename.txt";
However all this did was send it to .
What am I missing?
Thanks,
Russell
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM