develooper Front page | perl.perl5.porters | Postings from July 2012

[perl #85976] The 'do' function does not clear $! if it fails to compile it's argument

Thread Next
From:
Jesse Luehrs via RT
Date:
July 3, 2012 17:38
Subject:
[perl #85976] The 'do' function does not clear $! if it fails to compile it's argument
Message ID:
rt-3.6.HEAD-28836-1341362300-405.85976-15-0@perl.org
The documentation currently states:

  Always check $@ first, as compilation could fail in a way that also
sets $!.

Is this sufficient? I don't think we really want to be messing with the
semantics of $! in just this specific case.

-doy


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=85976

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About