
rgs at consttype
Nov 16, 2009, 8:13 AM
Post #3 of 5
(320 views)
Permalink
|
|
Re: [PATCH] Force OP_REQUIRE to scalar context at the end of ck_require
[In reply to]
|
|
That's on top of the add-a-TODO-test patch you sent previously, right ? That's odd, because I thought I had fixed that one years ago, precisely with the code you removed: http://perl5.git.perl.org/perl.git/commitdiff/0c58d367e297133798f6e191e83d3087e2617588 at a first glance, your code looks more correct than mine; I'll look at it more closely when time permits. 2009/11/16 Gerard Goossen <gerard [at] ggoossen>: > Now includes patch. > > On Mon, Nov 16, 2009 at 02:09:13PM +0100, Gerard Goossen wrote: >> Force OP_REQUIRE to scalar context at the end of ck_require and don't let >> it become void context. >> Fixes problem with require not always being in scalar context. >> >> Gerard Goossen >> >> > -- "You don't mean odds and ends, you mean des curieux et des bouts", corrected the manager. -- Terry Pratchett, Hogfather
|