Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: file::find question

by dakkar (Hermit)
on Nov 21, 2002 at 11:10 UTC ( [id://214739]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: file::find question
in thread file::find question

You can write:

{ # enclosing scope my @found_files; sub criteria { # do the right thing } } find(\&criteria,$dir);

Of course, now you have to decide how large a part of your script needs access to the @found_files variable.

-- 
        dakkar - Mobilis in mobile

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found