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

Re: new slurp module

Thread Previous | Thread Next
Dave Mitchell
October 23, 2003 03:35
Re: new slurp module
Message ID:
On Thu, Oct 23, 2003 at 05:45:05AM -0400, Uri Guttman wrote:
> the reason to put it in core is to have a standard (not just cpan)
> module to do slurping. it simplifies the operation, makes it more
> maintainable (no multiple idioms to remember) and is faster. many other
> modules are in core with less than that.
> i am not going to force the issue, i just wanted to bring it up. if the
> consensus is to just put it on cpan, then i will probably keep the
> file::slurp name.

I for one would welcome a module like this into the core. I've always
found it annoying that Perl, which is famously used for manipulating files
and their contents, doesn't have an easy way of just grabbing or writing a
whole file at time.

And I'd expect to find it under File::.

That he said that that that that is is is debatable, is debatable.

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