> Running 1.x.  I want to load a perl module (Execute('*') with import
> set to 0) and then later in the routine call $this->process().
>
> In normal perl code I would do this:
>
> try {
>      $this->process($udat{account_id});
> } otherwise {
>      my $err = shift;
>      $this->Error(0);
>      ...
> };
>
> But that doesn't work here.

I am not quite sure what the try .. otherwise does internaly, but could you
try what happens with you write

eval { $this-> process ... } ;
if ($@) { ... throw }

does this catch you exception?

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to