Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Find all JPEG files in a directory

by holli (Monsignor)
on Aug 12, 2005 at 06:09 UTC ( #483190=note: print w/ replies, xml ) Need Help??


in reply to Re: Find all JPEG files in a directory
in thread Find all JPEG files in a directory

#perl use File::Slurp; write_file ('filenameW', $ENV{OS} =~ /Windows/i ? `dir /b *.jpg` : `ls + *.jpg` );
Update: changed single qutoes to backticks as originally intended.


holli, /regexed monk/


Comment on Re^2: 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://483190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-08-01 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls