Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: output of Find::File into an array

by mkmcconn (Chaplain)
on Aug 25, 2002 at 01:43 UTC ( #192613=note: print w/replies, xml ) Need Help??


in reply to output of Find::File into an array

You can push into @filesfound within find's code block. I suspect that you'll find considerable help from mirod's post, here: Why I hate File::Find and how I (hope I) fixed it.

mkmcconn

Replies are listed 'Best First'.
Re: Re: output of Find::File into an array
by Limbic~Region (Chancellor) on Aug 25, 2002 at 02:02 UTC
    Thanks mkmcconn, but the users that are going to be adding things to the config file aren't going to know how/what/why to push information to the array since it is in the code that shouldn't need to be modified. Zaxo came up with a viable solution that I am going to use. I did realize that what I was trying to do was the equivalent of expecting to see "foo bar" as a result to:
    my $var = print "foo bar"; print "$var\n"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2023-01-29 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?