Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

To glob or not to glob

by haukex (Archbishop)
on Jan 07, 2018 at 12:54 UTC ( [id://1206848]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Path::Class qw/dir/;
    my @files = dir('foo', 'bar quz', 'baz')->children;
    # @files includes .dot files, but not . and ..
    # and its elements are Path::Class objects
    print "<$_>\n" for @files;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1206848]
Approved by Corion
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found