Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://687696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-03-28 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found