in reply to Redirect STDOUT to a $variable
See open, where your case is discussed:
close STDOUT; open STDOUT, '>', \$variable or die "Can't open STDOUT: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Redirect STDOUT to a $variable
by Anonymous Monk on Feb 28, 2009 at 19:59 UTC | |
by Anonymous Monk on Jan 26, 2010 at 14:13 UTC | |
|
Re^2: Redirect STDOUT to a $variable
by iceman_san (Initiate) on Aug 10, 2007 at 13:19 UTC | |
by ysth (Canon) on Aug 10, 2007 at 23:53 UTC |