jj808 has asked for the wisdom of the Perl Monks concerning the following question:
use IO::Scalar; use Pod::Html; my $temp; tie *STDOUT, 'IO::Scalar', \$temp; pod2html("--infile=$file"); untie *STDOUT;
but the output still goes to the 'real' STDOUT and not to $temp.
Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Capturing output from Pod::Html to a scalar
by stefp (Vicar) on Sep 07, 2001 at 20:09 UTC | |
|
(jeffa) Re: Capturing output from Pod::Html to a scalar
by jeffa (Bishop) on Sep 07, 2001 at 19:59 UTC | |
by jj808 (Hermit) on Sep 07, 2001 at 20:12 UTC | |
|
Re: Capturing output from Pod::Html to a scalar
by melguin (Pilgrim) on Sep 07, 2001 at 20:00 UTC |