[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] listing directories



Le 15/12/96 ˆ 09:52 -0700 , doug spore nous disait:

> #!/usr/bin/perl -w
>
> $folder_name = "@ARGV";
> print "$folder_name\n";
>
> opendir(FOLDER,$folder_name) || die "Could not open $folder_name: $!";
> @afiles = readdir(FOLDER);
>
> foreach $file (@allfiles){
>     print "$file\n";
> }



Based on Doug Spore code, how can I list mac files
and ignore the invisible ones (or on the contrary
list only the invisible ones)?

Stef


                ___S__t__e__p__h__a__n__e______J__o__s__e___

                        mailto:jose.stephane@uqam.ca
                    http://www.er.uqam.ca/nobel/m206474/