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

Re: Help using Find::File::name

by Anonymous Monk
on Nov 27, 2010 at 23:32 UTC ( [id://874040]=note: print w/replies, xml ) Need Help??


in reply to Help using Find::File::name

Where do you want to use the variable $foundFile? Outside of the if-block? If so, you have a scoping problem, i.e. $foundFile will be out of scope and gone after the closing '}' of the if-block.

Maybe you want to store the find results in some global variable (array), or some such...

Log In?
Username:
Password:

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

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

    No recent polls found