Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: File searching *

by Marshall (Canon)
on Mar 03, 2020 at 01:27 UTC ( [id://11113682]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    opendir my $dh4, $a_directory or die "can't open directory $dh4:$!";
    while (my $this_file = readdir $dh4)
    ...
        next if (-d "$dh4/$this_file");     #skip all directories
        print "$this_file is an extra file: $dh4/$this_file\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11113682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found