Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Writing to a file handle not attached to a file?by gellyfish (Monsignor) |
on Oct 26, 2006 at 08:22 UTC ( [id://580706]=note: print w/replies, xml ) | Need Help?? |
With a recent (i.e. 5.8.0 onward) perl you can simply open a filehandle to a reference to a scalar rather than a filename. E.g. : In older perls you might want to see IO::Scalar for instance. /J\
In Section
Seekers of Perl Wisdom
|
|