Re: [1.8.0] perl/Git.pm: moving away from using Error.pm module
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 21, 2011, 12:31 UTC
- Message-ID
- <AANLkTimwhYwQz9W3tAa2=Q0nJY8AoZYq=7KeX5O2Ca_G@mail.gmail.com>
- In-Reply-To
- <4D624632.80904@letterboxes.org>
On Mon, Feb 21, 2011 at 12:02, Nick <oinksocket@letterboxes.org> wrote:
> because it is possible that $@ can be modified (say, by a DESTROY method) before > the if clause sees it. The former idiom does not stop that, it just means your > exception handler is executed reliably.
Note that that DESTROY clobbering has been fixed in later versions of Perl.