|The stupid question is the question not asked|
Re: Re: Problem with tie *STDIN, 'IO::Scalar', \$text;by Rudif (Hermit)
|on Apr 29, 2001 at 15:34 UTC||Need Help??|
Well I don't know cuz you didn't show the real problem you are trying to solve and the assosiated code.
pod2html() function from Pod::Html uses implicit inputs and outputs.
It could have been pod2html($fh_pod_input, $fh_html_output).
But it is not, and hence my problem.
I want to feed text from a scalar variable to a subroutine that reads from STDIN. Specifically, I want to convert some pod text from a scalar variable to a html file, using Pod::Html::pod2html.
This here does the job, but it uses a script pod2html.pl that wraps the sub Pod::Html::pod2html:
I would like to replace it by something like this, not using a separate script and pipes or temporary files:
I hope that this clarifies what I am trying to solve.