[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676571: ITP: libfile-find-wanted-perl -- more obvious wrapper around File::Find

Package: wnpp
Severity: wishlist
Owner: Florian Schlichting <fschlich@zedat.fu-berlin.de>

* Package name    : libfile-find-wanted-perl
  Version         : 0.01
  Upstream Author : Andy Lester
* URL             : http://search.cpan.org/dist/File-Find-Wanted/
* License         : GPL-1+, Artistic
  Programming Lang: Perl
  Description     : more obvious wrapper around File::Find

File::Find::Wanted provides a find_wanted() function, which does what
File::Find's find() does but in a more obvious way: To get a list of all
files ending in .jpg, simply call

    my @files = find_wanted( sub { -f && /\.jpg$/ }, $dir );

Reply to: