Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [perl #108780] Make /foo$qr/ work under ‘no overloading’ | Father Chrysostomos | 2012-01-30 | 1 | -1/+11 |
| | | | | | | | This changes the code in pp_regcomp to use the underlying REGEXP instead of the reference to it, when concatenating pieces to mark a larger regular expression. This makes /foo$qr/ work even under ‘no overloading’. It stopped working with commit a75c6ed6b. | ||||
* | [perl #108780] Make ‘no overloading’ work with qr// | Father Chrysostomos | 2012-01-24 | 1 | -1/+14 |
| | | | | | | | | | | | | | | Traditionally, overload::StrVal(qr//) has returned Regexp=SCALAR(0xc0ffee), and later Regexp=REGEXP(0xc0c0a) when regexps were made into first-class SVs. When the overloading pragma was added in 5.10.1, qr// things were not accounted for, so they would still stringify as (?-xism:) even with ‘no overloading’ (or as (?^:) under 5.14). This commit makes the overloading pragma work with qr// things, so that they stringify the same way as overload::StrVal; i.e., as Regexp=REGEXP(0xbe600d). | ||||
* | Convert gmtime.t, localtime.t and overloading.t to Test::More. | Nicholas Clark | 2010-07-01 | 1 | -9/+1 |
| | |||||
* | Add a new test for overloading.pm | Rafael Garcia-Suarez | 2009-01-02 | 1 | -1/+16 |
| | | | | | This one overloads "cos", which is currently at the end of the overload table, so we properly test the bitstring stored in %^H | ||||
* | 'overloading' pragma | Yuval Kogman | 2009-01-02 | 1 | -0/+86 |