On Oct 18, 4:53 pm, [EMAIL PROTECTED] (Chas. Owens) wrote:
> Also, don't use
> dirhandles if you are just going to use readdir in list context.
> dirhandles are for iterative reading. Use a glob to get a list:
First time I've ever heard that piece of advice. Can't understand why
you'd give it.
Thanks Chas and Tom, its working great.
jlc
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
ts.
Thanks!
jlc
-Original Message-
From: Chas. Owens [mailto:[EMAIL PROTECTED]
Sent: October-18-07 2:53 PM
To: Joseph L. Casale
Cc: beginners@perl.org
Subject: Re: Filtering output of readdir
On 10/18/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am needi
On 10/18/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am needing to perform some work on files located in a directory. I am
> reading
> the contents of the directory in and but need to filter what's read in. So
> far I
> can filter out the "." and ".." but I need to add two mor
On 10/18/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote:
> I am needing to perform some work on files located in a directory. I am
> reading
> the contents of the directory in and but need to filter what's read in. So
> far I can
> filter out the "." and ".." but I need to add two more cases. I