Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 36.961.813 Times

File::Find::Closures 1.06

  Date Added: August 22, 2010  |  Visits: 1.229

File::Find::Closures

Report Broken Link
Printer Friendly Version


Product Homepage
Download (79 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Filefindclosures Functions Libraries List Module Perl Perl Module Programming Wanted
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


FILE::FIND::CLOSURES RELATED
Libraries  -  List::Intersperse 1.00
List::Intersperse Perl module can intersperse / unsort / disperse a list. SYNOPSIS use List::Intersperse qw/intersperseq/; @ispersed = intersperseq {substr($_[0],0,1)} qw/A1 A2 B1 B2 C1 C2/; @ispersed = List::Intersperse::intersperse qw/A...
2.05 KB  
Libraries  -  List::Util 1.19
List::Util Perl module contains a selection of general-utility list subroutines. SYNOPSIS use List::Util qw(first max maxstr min minstr reduce shuffle sum); List::Util contains a selection of subroutines that people have expressed would be...
44.03 KB  
Libraries  -  Bio::NEXUS::Functions 0.67
Bio::NEXUS::Functions is a Perl module that provides private utility functions for the module. This package provides private functions that are not object-specific..
153.6 KB  
Modules  -  SMS List (Scri[ts) 6.x-1.0
The SMS List Module will help Maintain a List of Users with active subscription and send them SMS using the smsframework Module.Proposed Features* Provides a Block to Subscribe/Unsubscribe* Checks for The Validity of Number* Send an SMS Challenge...
10 KB  
Modules  -  Live Game Server List Module 5.5
Live game server script(LGSL) is a very popular script among clan/gaming community. This script now can be integrated inside phpnuke CMS. The following is the latest version of this Live Game Server List which has been tested on PHP-Nuke, Phpnuke...
5.02 MB  
Modules  -  Indymedia cities list 6.x-1.3
The Indymedia cities list module generates an up-to-date list of indymedia sites. For PHP 4-based sites, the list is updated from an HTML version. For PHP 5-based sites, the list is updated from an XML version, and the listing is fully...
10 KB  
Libraries  -  Mail::Bulkmail 3.12
Mail::Bulkmail is a platform independent mailing list module. SYNOPSIS use Mail::Bulkmail /path/to/conf.file my $bulk = Mail::Bulkmail->new( "LIST" => "~/my.list.txt", "From" => "Jim Thomason" , "Subject" => "This is a test message",...
71.68 KB  
Form Processors  -  PHP Form Extension Project 0.6.1
PHP Form Extension Project provides HTML form handling functions as PHP module. There are many form classes/functions implemented as PHP script. However, they are not fast enough or lack features. This project aims to provide HTML form handling...
 
Modules  -  Ubercart Price List 6.x-1.0-beta1
The Ubercart Price List module allows the site administrator to enter CSV price-lists where the price of a certain products change depending on the quantity of that item purchased. Further more, this allows the site administrator to create...
10 KB  
Modules  -  Staff List 6.x-1.0
The Staff List module automatically compiles a staff list using information about site users.The modules looks at a user's user roles to accomplish this. It can be configured so that certain user roles can designate either a department (e.g.:...
10 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB