in reply to File::Find::Closures (at last, some code re-use)

I have never used File::Find, so I may be incorrect, but a brief reading through the POD of File::Find::Closures revealed a potential typo. In the synopsis, you have this:

my( $list_reporter, $wanted ) = find_by_name( qw(README) );
But in the line immediately after the heading "The closure factories" you say this:
Each factory returns two closures. The first one is for find(), and the second one is the reporter.
It seems your example and your description are at odds.

Replies are listed 'Best First'.
Re^2: File::Find::Closures (at last, some code re-use)
by brian_d_foy (Abbot) on Sep 30, 2004 at 19:38 UTC
    Drats. The example is out of date, and I will fix that in the next upload.
    --
    brian d foy <bdfoy@cpan.org>