develooper Front page | perl.perl5.porters | Postings from October 2003

Re: new slurp module

Thread Previous | Thread Next
October 23, 2003 02:35
Re: new slurp module
Message ID:
On Thu, Oct 23, 2003 at 04:58:05AM -0400, Uri Guttman wrote:
> >>>>> "AB" == Arthur Bergman <> writes:
>   AB> On Thursday, October 23, 2003, at 09:30  am, Uri Guttman wrote:
>   >> 
>   >> i would like to propose that my module be part of the 5.10 distribution
>   >> and so i think it should go under the IO::File namespace.
>   AB> I see no reason for adding yet another IO module to the core. It could
>   AB> just as well go on CPAN and support older perls as well.
> i want to release it to cpan for all perls. it should work with as far
> back as 5.005. but i think that it could be in future distributions so
> it will become the common idiom for slurping instead of the slower and
> IMO uglier tricks.

What's ugly or not is very subjective. The speed argument doesn't
quite convince me. How often do programs slurp in lots of files?

I find neither argument a reason for including it in the standard
distribution - the standard distribution is big enough already.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About