On Sunday, June 23, 2002, at 01:14 , Jenda Krynicky wrote:
[..]
> The second way is a bit safer though. If you forget to test for
> errors, your script ends with an error message and the user knows
> something went wrong.
> If you use the first and ignore the function result everything seems
> to be OK, user thinks it worked and it blows up later.
[..]

for demo code that seemed to be a good enough solution.

I figure the cat who already groks:

        eval {  local $SIG{'__DIE__'};
         $global->clear_Lock('JoeBobBrigs');
      };
        $answer = ( $@ ) ? NOK : OK ;

has other unresolved issues in their life that they need
to deal with....

ciao
drieux

---

Like appropriately defending Slovak Kultural Heritage
from the Rampant Praha Kulturally Myopic Imperialists
undt their Sudetenland underlings, who all really
wanted to be Ring Wraithes....

I mean - it's not like you have to be Franz Kafka to
write esoteric perl code.... but it doesn't hurt....


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

Reply via email to