perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filin <>
Subject Trouble with catching output of prcodures
Date Mon, 05 Jul 2004 08:19:03 GMT
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:

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)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message