Re: [1.8.0] perl/Git.pm: moving away from using Error.pm module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using the packages Exception::Class and Carp together, compete to set the
eval_error variable ($@)
For example, throwing an object (of type Exception::Class) can result in the
eval_error variable ($@) getting a scalar type after the eval statement if
the Carp is fast enough to set a string (of type scalar) that contains the
error stack.
The result is that following the eval statement the catch sees a different
type than what it expects and does not react as planned.

Avi


--
View this message in context: http://git.661346.n2.nabble.com/1-8-0-perl-Git-pm-moving-away-from-using-Error-pm-module-tp6046799p6277964.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]