Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Find all JPEG files in a directory

by sh1tn (Priest)
on Aug 11, 2005 at 22:21 UTC ( #483144=note: print w/ replies, xml ) Need Help??


in reply to Find all JPEG files in a directory

Sample subroutine:

use File::Find; ... sub _find_jpg { my @files; find( sub{ push @files, $_ if /\.jpg$/i }, @_ ); \@files; }



Comment on Re: Find all JPEG files in a directory
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-11-22 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (121 votes), past polls