in reply to •Re: writing to a variable
in thread writing to a variable
I was hoping that printing $output would give me the report. Any advice appreciateduse IO::String; use strict; my $output; tie *IO, IO::String->new($output); my $col1 = "first"; my $col2 = "second"; write (IO); print $output; format IO = =============== ==================== @<<<<<<<<<<<<<: @<<<<<<<<<<<<<<<<<<< $col1, $col2
|
|---|