File::Find::Closures 1.06
Sponsored Links
File::Find::Closures 1.06 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
911
Date added:
2007-04-26
Publisher:
brian d foy
File::Find::Closures 1.06 description
File::Find::Closures is a Perl module with functions you can use with File::Find.
SYNOPSIS
use File::Find;
use File::Find::Closures qw(:all);
my( $wanted, $list_reporter ) = find_by_name( qw(README) );
File::Find::find( $wanted, @directories );
File::Find::find( { wanted => $wanted, ... }, @directories );
my @readmes = $list_reporter->();
SOME PARTS ARE NOT IMPLEMENTED YET! THIS IS ALPHA ALPHA SOFTWARE: A MERE SHELL OF AN IDEA.
I wrote this module as an example of both using closures and using File::Find. Students are always asking me what closures are good for, and heres some examples. The functions mostly stand alone (i.e. they dont need the rest of the module), so rather than creating a dependency in your code, just lift the parts you want).
When I use File::Find, I have two headaches---coming up with the &wanted function to pass to find(), and acculumating the files.
This module provides the &wanted functions as a closures that I can pass directly to find(). Actually, for each pre-made closure, I provide a closure to access the list of files too, so I dont have to create a new array to hold the results.
The filenames are the full path to the file as reported by File::Find.
Unless otherwise noted, the reporter closure returns a list of the filenames in list context and an anonymous array that is a copy (not a reference) of the original list. The filenames have been normalized by File::Spec::canonfile unless otherwise noted. The list of files has been processed by File::Spec::no_upwards so that "." and ".." (or their equivalents) do not show up in the list.
SYNOPSIS
use File::Find;
use File::Find::Closures qw(:all);
my( $wanted, $list_reporter ) = find_by_name( qw(README) );
File::Find::find( $wanted, @directories );
File::Find::find( { wanted => $wanted, ... }, @directories );
my @readmes = $list_reporter->();
SOME PARTS ARE NOT IMPLEMENTED YET! THIS IS ALPHA ALPHA SOFTWARE: A MERE SHELL OF AN IDEA.
I wrote this module as an example of both using closures and using File::Find. Students are always asking me what closures are good for, and heres some examples. The functions mostly stand alone (i.e. they dont need the rest of the module), so rather than creating a dependency in your code, just lift the parts you want).
When I use File::Find, I have two headaches---coming up with the &wanted function to pass to find(), and acculumating the files.
This module provides the &wanted functions as a closures that I can pass directly to find(). Actually, for each pre-made closure, I provide a closure to access the list of files too, so I dont have to create a new array to hold the results.
The filenames are the full path to the file as reported by File::Find.
Unless otherwise noted, the reporter closure returns a list of the filenames in list context and an anonymous array that is a copy (not a reference) of the original list. The filenames have been normalized by File::Spec::canonfile unless otherwise noted. The list of files has been processed by File::Spec::no_upwards so that "." and ".." (or their equivalents) do not show up in the list.
File::Find::Closures 1.06 Screenshot
File::Find::Closures 1.06 Keywords
Closures 1.06
Perl module
can use
list
module
functions
wanted
Perl
1.06
File::Find::Closures
FileFindClosures
File::Find::Closures 1.06
Libraries
Programming
Bookmark File::Find::Closures 1.06
File::Find::Closures 1.06 Copyright
WareSeeker periodically updates pricing and software information of File::Find::Closures 1.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of File::Find::Closures 1.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
listin diario
module master
tv listings
perl modules
lunar module
listen online radio stations
listen to free music
module allows users
listen to music online
do not call list
modules
module 4
ignition module
listen to your heart
job listings
install perl module
list women clothing stores chicago
craigs listcom
Related Software
B::Keywords is a Perl module that contains lists of reserved barewords and symbol names. Free Download
filepp is a generic file preprocessor. Free Download
Net::AudioScrobbler is a Perl module that provides an interface to AudioScrobbler. Free Download
List::MoreUtils is a Perl module that can provide the stuff missing in List::Util. Free Download
Convert::Recode is a Perl module to make mapping functions between character sets. Free Download
Parallel::Workers::Shared is a simple Perl module. Free Download
Sub::ArgShortcut is a Perl module with writing functions that use default arguments. Free Download
Fatal::Exception - succeed or throw exception. Free Download
Latest Software
Popular Software
Favourite Software