I always insert this in any Perl script that works with directories: $fil = @dir[$i]; if ($fil =~ /^Icon/) (Where @dir is set from a READDIR instruction) >actually, "Icon\015" (octal, I prefer this) or "Icon\x0D" >(hexadecimal) -- but not "Icon\0x0D", that's wrong in Perl -- is a >plain file.
- [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