Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Open a folder

by Anonymous Monk
on Jan 08, 2013 at 10:50 UTC ( #1012220=note: print w/ replies, xml ) Need Help??


in reply to Open a folder


#!/usr/bin/perl --
use Cwd;
use File::Find::Rule;
my @dirs = ( cwd() );
my @textfiles = find( 'file', 'name', qr/\.txt$/i, 'maxdepth', 1, 'in', \@dirs );


Comment on Re: Open a folder

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-09-16 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (43 votes), past polls