Perhaps something like IO::Scalar is what you seek?
In reply to Re: FORMATS, filehandle and variables by Fletch in thread FORMATS, filehandle and variables by stew