develooper Front page | perl.module-authors | Postings from December 2011

Re: Naming of Perl module

Thread Previous | Thread Next
From:
Dave Rolsky
Date:
December 13, 2011 12:09
Subject:
Re: Naming of Perl module
Message ID:
alpine.DEB.2.00.1112131408540.17914@urth.org
On Tue, 13 Dec 2011, lloyd@singletasker.co.uk wrote:

> The purpose of the module is to find files which match a regular 
> expression. The module currently only has one subroutine which takes two 
> parameters, base_directory and expression. The subroutine traverses all 
> subdirectories of the base directory and returns a hash when it's 
> completed.

Is there any reason you're not using one of File::Find, File::Find::Rule, 
or a variety of other CPAN modules which can already do this?


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About