in reply to Re: format/write to variable
in thread format/write to variable
IO::String or IO::Scalar always seems to be the first thing people think of, then those that try it eventually find out that format and write don't like tied filehandles. wog and simon.proctor have it right, formline and $^A are the ticket. Here is an implementation I once used when I needed to put hash data into columns.
|
|---|