On 13 Jun 2001 07:49:08 EDT, Katherine Richmond wrote: > if ( ($fileName ne "Icon") && ($fileName ne ".")) { That ain't right. You're missing the newline in the filename! Since you're responding to Thomas, I find that surprising, since it was a large, important part in his post. And "." doesn't exist on the Mac, I would think. It's not special, if it does. if($fileName =~ /\015/) { There. Plain and simple. -- Bart.
- [MacPerl] parsing files in a directory Katherine Richmond
- Re: [MacPerl] parsing files in a directory Randy Boring
- Re: [MacPerl] parsing files in a directory Thomas Wegner
- Re: [MacPerl] parsing files in a directory Bill Becker
- Re: [MacPerl] parsing files in a directory Katherine Richmond
- Re: [MacPerl] parsing files in a directory Bart Lateur
- Re: [MacPerl] parsing files in a directory John W Baxter
- Re: [MacPerl] parsing files in a directory Katherine Richmond
- Re: [MacPerl] parsing files in a directory Bart Lateur
- Re: [MacPerl] parsing files in a directory Katherine Richmond