in reply to opening anonymous temp files with IO::File?

       new ( FILENAME [,MODE [,PERMS]] )
           Creates an "IO::File".  If it receives any parameters, they are passed to
           the method "open"; if the open fails, the object is destroyed.  Otherwise,
           it is returned to the caller.
That's not new ( MODE, THING ).

But no, IO::File does not support opening references. This makes sense, because the module is IO::File and a reference is not a file. See IO::Scalar.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

  • Comment on Re: opening anonymous temp files with IO::File?