develooper Front page | perl.perl5.porters | Postings from August 2008

Re: Fighting the Good Fight against spam deluge

From:
Roland Giersig
Date:
August 1, 2008 08:35
Subject:
Re: Fighting the Good Fight against spam deluge
Message ID:
48932D41.3060503@cpan.org
Johan Vromans wrote:
> =head1 NAME
> 
> Iterator::Diamond - Iterate through the files from ARGV

Could we please have a more general Iterator::Files that takes a list of 
filenames with new()?

   $input = Iterator::Files->new(@filelist);

Writing

   $input = Iterator::Files->new(@ARGV);

isn't too much and you can always use 'overload', which defaults to @ARGV.

Apart from that: OK.

Roland



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