Don't lose Error.pm if $@ gets clobbered.
commit0ed8fdcdfd2bebdc7f172383b864836581c39123
authorMichael G. Schwern <schwern@pobox.com>
Wed, 25 Jul 2012 03:21:10 +0000 (24 20:21 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 27 Jul 2012 22:13:27 +0000 (27 22:13 +0000)
treedc02eb422fbc1b675f11a5d0b91097beb28e3c7a
parent4c8e5c55c2a2125bb3b6a06c1cd0d4415fac0016
Don't lose Error.pm if $@ gets clobbered.

In older Perls, sometimes $@ can become unset between the eval and
checking $@.  Its safer to check the eval directly.

Signed-off-by: Michael G Schwern <schwern@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
perl/Makefile.PL