Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Why I hate File::Find and how I (hope I) fixed it

by Jenda (Abbot)
on May 21, 2008 at 02:15 UTC ( #687696=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # create various wnated functions
    my $wanted= make_wanted( \&wanted_1, 'toto', 'tata');
    find( $wanted, '.');
    print "\n";
    
  2. or download this
    find( sub{ wanted_1( 'toto', 'tata')}, '.');
    print "\n";
    
  3. or download this
    use File::Find;
    
    ...
    
    find( $wanted->(1,2), 'd:\temp\copy');
    find( $wanted->(20,19), 'd:\temp\copy');
    
  4. or download this
    #...
    *wanted = callback {
    ...
    
    find( wanted(1,2), 'd:\temp\copy');
    find( wanted(20,19), 'd:\temp\copy');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2015-07-06 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls