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

Re: new slurp module

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
October 24, 2003 02:51
Subject:
Re: new slurp module
Message ID:
20031024095049.2868.2@llama.elixent.com
Uri Guttman <uri@stemsystems.com> writes:
>>>>>> "AB" == Arthur Bergman <sky@nanisky.com> 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.

I have a feeling that for 5.7+ doing the slurp at PerlIO level would be 
a win (:mmap sort of does that for read, but whether it really wins 
depends on OS's mmap() efficiency and whether file is local or NFS).


>
>uri


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