Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-10-23 18:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.