> Hey there,
Hi
> I have a set of functions that send an XML element, wait for a response,
> parse the response, and return it. However, there are often cases where
> the resulting XML is never used, and so parsing it is pointless. Is
> there a way that a sub can tell where the result is going to go, so that
> it can not do the parsing if the result is going to be immediatly
> discarded?
>
If you are asking how to teel between:

$var=⊂
and
⊂

- not that I know.
However, there is a way to tell who asked for the result:
read perldoc -f caller

but why dont you pass a parameter to the sub that tells it?

Wolf


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to