File::Temp - not seekable

Randy J. Ray rjray at blackperl.com
Mon May 22 23:30:13 BST 2006


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).

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.

Randy
-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray        Campbell, CA    http://www.rjray.org   rjray at blackperl.com

Silicon Valley Scale Modelers: http://www.svsm.org


More information about the london.pm mailing list