Front page | perl.perl5.porters |
Postings from October 1999
Re: deprecating SIGDIE
Thread Previous
|
Thread Next
From:
Nick Ing-Simmons
Date:
October 1, 1999 06:50
Subject:
Re: deprecating SIGDIE
Message ID:
199910011349.OAA02965@tiuk.ti.com
M . J . T . Guy <mjtg@cus.cam.ac.uk> writes:
>Nick Ing-Simmons <nik@tiuk.ti.com> 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 <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
Thread Previous
|
Thread Next