Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: array problem

by Trimbach (Curate)
on Mar 15, 2002 at 02:18 UTC ( #151888=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    opendir DIR, "$dir";
    my @arr = grep -f, grep /\.jpg$/i, map "$dir/$_", readdir DIR;
    
  2. or download this
    my @arr = glob("*.jpg");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-01-19 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?