Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: help needed with File::Find and arrays.

by YuckFoo (Abbot)
on Mar 11, 2005 at 16:38 UTC ( #438710=note: print w/replies, xml ) Need Help??


in reply to help needed with File::Find and arrays.

File::Find::Rule returns a list of files and uses matching criteria similar to the find command.

YuckFind

#!/usr/bin/perl use strict; use File::Find::Rule; use Data::Dumper; my @list = File::Find::Rule->file()->maxdepth(1)->in('.'); print Dumper \@list;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://438710]
help
Chatterbox?
[Discipulus]: ah thanks Tux; maybe I'll try anyway: marioroy is somehow very new in the Perl world: maybe he understimated the range of antilehmanism
[Discipulus]: good monrnig Corion! and...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-09-20 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (234 votes). Check out past polls.

    Notices?