in reply to Tie'ing writes to formats

"How does one tie writes to a format?"

You can't. Though through use of $^A and formline you can get format like output in a scalar, and from there you can print it to whatever file handle you like.

Replies are listed 'Best First'.
Re: Re: Tie'ing writes to formats
by ruscoekm (Monk) on Nov 02, 2002 at 18:03 UTC

    Thanks, suspected as much :-(

    The problem here is that it is P::RD which is writing to the format, so it is difficult to capture the output. (see Re: Re: Filtering my own stderr).

    Cheers, Kevin