Re: pulling file name into perl

2002-02-01 Thread Roger C Haslock
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

Re: pulling file name into perl (fwd)

2002-01-31 Thread Deen Hameed
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

Re: pulling file name into perl

2002-01-31 Thread Deen Hameed
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

RE: pulling file name into perl

2002-01-31 Thread Hanson, Robert
: < 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

pulling file name into perl

2002-01-31 Thread Russell Boyd
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