*grumble*reply-to*grumble*

---------- Forwarded message ----------
From: Guillermo Roditi <[EMAIL PROTECTED]>
Date: May 31, 2007 2:28 PM
Subject: Re: [Boston.pm] Calling a function that will return to where the
grandparent called the parent
To: Alex Brelsfoard <[EMAIL PROTECTED]>

Take a look at, and the source of

http://search.cpan.org/~drolsky/Devel-StackTrace-1.15/lib/Devel/StackTrace.pm<http://search.cpan.org/%7Edrolsky/Devel-StackTrace-1.15/lib/Devel/StackTrace.pm>

On 5/31/07, Alex Brelsfoard <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I'm looking for a quick and easy way to have this situation happen:
>
> sub Plort {
>     ...
>     ...
>    Foo();
>     ...
> }
>
> sub Foo {
>     ...
>     ...
>     Error();
>     ...
> }
>
>
> I want it to happen that when Error() is called, when Error() finishes
> doing
> what it does it returns you to it's parent's parent (Plort() in this
> case).
> I don't want to have to specify anything.
> I want it to always return you to where Error()'s grandparent called it's
> parent.
>
> Any ideas of how to do this?
>
> Thanks.
> --Alex
>
> _______________________________________________
> Boston-pm mailing list
> [email protected]
> http://mail.pm.org/mailman/listinfo/boston-pm
>
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to