Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012220]
help
Chatterbox?
[karlgoethebier]: Ouch! How can i link to a section in my profile?
[erix]: I suppose you have to add anchors yourself
[karlgoethebier]: erix: OK Trial and Error. Thanks
[LanX]: <a name='anchor'> ?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-06-24 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (557 votes). Check out past polls.