opens.pm

TorgoX on 2002-03-09T01:25:10

Dear Log,

A while back, I wrote this wee module for myself, called opens.pm.
And for something that strikes me as a moderately bad idea (because you can't "do everything" with it), I'm sure using it an awful lot.

In fact, just today I wrote:

$_ = do { local $/; readline ropen "thingamawhoozits.html" };
to pull in a whole file.

Think I should put it in CPAN?


Slurp

djberg96 on 2002-03-09T22:21:32

I think File::Slurp already does this.

Re:Slurp

TorgoX on 2002-03-10T01:06:05

My library is about opening files, not slurping. The fact that my library does ropen->readline which is also something File::Slurp does is just a happy coincidence.