Re: [1.8.0] perl/Git.pm: moving away from using Error.pm module
- From
- Avner <avnermoshkovitz@lighthauslogic.com>
- Date
- Apr 15, 2011, 23:35 UTC
- Message-ID
- <1302910545319-6277964.post@n2.nabble.com>
- In-Reply-To
- <AANLkTimwhYwQz9W3tAa2=Q0nJY8AoZYq=7KeX5O2Ca_G@mail.gmail.com>
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.