in reply to 'virtual' filehandles...

Check out IO::Scalar -- this looks like it does what you want, i.e. makes a scalar behave like a file handle, so you can "print" to it. (There's also IO::ScalarArray.)

Replies are listed 'Best First'.
Re: Re: 'virtual' filehandles...
by nothingmuch (Priest) on Apr 09, 2003 at 00:55 UTC
    In 5.8 you can also open a scalar:
    open SCANDLE, \$scalar; # use a 3 argument open to specify mode


    -nuffin
    zz zZ Z Z #!perl