Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 exploiting the Monastery: (10)
As of 2014-09-19 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls