Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Question about alternative to File::Find

by tinita (Parson)
on Sep 29, 2012 at 17:40 UTC ( #996407=note: print w/replies, xml ) Need Help??

in reply to Question about alternative to File::Find

you can pass a sub reference. this way you don't need a global variable. short example:
{ # somewhere in a block or sub my @files; find(sub { push @files, $_ }, $dir); }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996407]
[stevieb]: yeah. This is my build/test software that manipulates perlbrew/ berrybrew, and runs all unit tests of a project against all installed versions, including testing a dist against all of it's current revdeps. A lot of tests it runs for itself:)
[stevieb]: testing the test build system, essentially

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-03-26 22:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.