From: Avner <avnermoshkovitz@lighthauslogic.com>
To: git@vger.kernel.org
Subject: Re: [1.8.0] perl/Git.pm: moving away from using Error.pm module
Date: Fri, 15 Apr 2011 16:35:45 -0700 (PDT) [thread overview]
Message-ID: <1302910545319-6277964.post@n2.nabble.com> (raw)
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.
prev parent reply other threads:[~2011-04-15 23:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 22:46 [1.8.0] perl/Git.pm: moving away from using Error.pm module Jakub Narebski
2011-02-21 7:20 ` Junio C Hamano
2011-02-21 9:31 ` Jakub Narebski
2011-02-21 11:02 ` Nick
2011-02-21 12:12 ` Jakub Narebski
2011-02-21 12:31 ` Ævar Arnfjörð Bjarmason
2011-04-15 23:35 ` Avner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302910545319-6277964.post@n2.nabble.com \
--to=avnermoshkovitz@lighthauslogic.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).