File::Temp - not seekable

Toby Corkindale tjc at wintrmute.net
Tue May 23 17:41:27 BST 2006


On Mon, May 22, 2006 at 04:30:13PM -0600, Randy J. Ray wrote:
> Toby Corkindale wrote:
> > Is there any particularly good reason that File::Temp's OO constructor
> > gives me a non-seekable IO::Handle, rather than an IO::File-alike?
> 
> Looking at the code, there doesn't seem to be a *good* reason, just the fact
> that the base-class is set to IO::Handle instead of IO::File (or
> IO::Seekable).

*nods*

> Have you tried contacting the module owner? It looks to me from examing the
> code that changing the base-class should be all you need.

I've emailed him now; I'll let you know what the reason, if any, was, if he
responds.

ta,
tjc

-- 
Turning and turning in the widening gyre/The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world
(gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E)


More information about the london.pm mailing list