RE: How do i run shell command

2004-08-31 Thread Charles K. Clarkson
From: Radhika Sambamurti wrote: : thanks, : radhika : : : If you're not reading from any other files, you don't : : need the $count variable in this case. The special : : variable $. holds the number of lines read since a : : filehandle was last explicitl

RE: How do i run shell command

2004-08-31 Thread Wiggins d Anconia
> > > Chris, > > You are exactly right, that is a useless use of cat, old habits die > hard. And of course you are correct in that it can be done entirely in > perl, the availability of the shell cmd wc makes us lazy, and we don't > want to code what we can just call from the system. > > Chris

RE: How do i run shell command

2004-08-31 Thread Radhika Sambamurti
Hi, was trying to reproduce the code below. I was wondering what the 1 is doing before the while. Is it the exit status of the while, that is until eof is reached and exit code = 1 ? thanks, radhika > If you're not reading from any other files, you don't need the > $count > variable in

RE: How do i run shell command

2004-08-31 Thread christopher . l . hood
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:10 AM To: [EMAIL PROTECTED] Subject: Re: How do i run shell command It works for me . Thanks Sudhakar Gajjala Chris Devers <[EMAIL PROTECTED]> on 08/30/2004 10:47

Re: How do i run shell command

2004-08-30 Thread Sudhakar . Gajjala
It works for me . Thanks Sudhakar Gajjala Chris Devers <[EMAIL PROTECTED]> on 08/30/2004 10:47:55 PM Please respond to [EMAIL PROTECTED] To:Sudhakar Gajjala/C/[EMAIL PROTECTED] cc:[EMAIL PROTECTED] Subject: Re: How do i run shell command On Mon, 30 Aug 2004 [EMAIL PRO