I have a trouble with using of output of embperl procedures. E.g. there is following
declaration in some file:
[$ sub somesub $]Some text[$ endsub $]
If I want to catch output of somesub, I can:
Execute({inputfile=>"file", import=>0});
Execute({inputfile=>"file", sub=>'somesub', output=>\$str});
But what if I need to use something like:
$file=Execute({object=>"file"});
$file->somesub();
How can I catch output in this case?
It is possible of course just to replace [$ sub somesub ... $] with [! sub somesub
{...} !],
but I would be VERY glad to hear that it isn't the only decision.
Please help me.
(I use Embperl 1.3.6)
---
Owl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]