develooper Front page | perl.perl5.porters | Postings from October 1999

Re: deprecating SIGDIE

Thread Previous | Thread Next
Nick Ing-Simmons
October 1, 1999 06:50
Re: deprecating SIGDIE
Message ID:
M . J . T . Guy <> writes:
>Nick Ing-Simmons <> wrote
>> The test is usually needed. The eval will still return, unless handler has 
>> rendered the fail entirely harmless you typically need to 
>> avoid executing something ...
>The handler can't "render the fail entirely harmless".  

By which I meant handling "cannot find Foo in @INC" by find a Foo somewhere
else and doing the load itself. The eval will of course return.
And $@ eq 'cannot find' is now not correct so ...

>It's only option

But it can have had any number of side effects in the meantime.

>is to change the message, by issuing another die().

which should be now be (say) "don't panic - I fixed it",
but you still need to check that it was fixed...

Nick Ing-Simmons <>
Via, but not speaking for: Texas Instruments Ltd.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About