Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: RFC: Defined-Or for before Perl 5.10

by molecules (Monk)
on Oct 29, 2010 at 18:03 UTC ( #868373=note: print w/replies, xml ) Need Help??

in reply to Re: RFC: Defined-Or for before Perl 5.10
in thread RFC: Defined-Or for before Perl 5.10


The patches are huge, running 350-500K! (c.f. dor-5.8.8-34438.diff)

He names the patch files starting with "dor". Would that be a better name than "defined_or"?

  • Comment on Re^2: RFC: Defined-Or for before Perl 5.10

Replies are listed 'Best First'.
Re^3: RFC: Defined-Or for before Perl 5.10
by eyepopslikeamosquito (Chancellor) on Oct 30, 2010 at 05:42 UTC

    He names the patch files starting with "dor". Would that be a better name than "defined_or"?
    I personally prefer "dor" to "defined_or". Actually, I quite like Larry's original "err" -- though the majority of P5P seemed to prefer "dor", based on some long P5P threads. To be "consistent" with Perl 6, you might even consider "orelse".

    Note that while the // "defined or" operator was added to Perl 5.10, the low precedence version of this operator was not. AFAICT, this low precedence operator morphed from err to dor to orelse; orelse is in Perl 6 as a similar, but not identical, low precedence version of //, but it's not in Perl 5 and I'm not aware of any plans to add it. See also this Larry response on perl6-language mailing list.

      Actually, IIRC, for quite a while, 5.9.x *had* err, and it was culled not to long before 5.10 came out due to some backwards compatability issues noone seemed to be able to resolve.

        I'm actually quite happy that the 5.8.x series is out of maint now. Maintaining those patches was quite a lot of work.

        Note that those patches still add the err keyword to perl.

        The disadvantage of those patches over the proposal of a module/function, is that it is inside the perl binary, and all has to be recompiled from scratch.

        Enjoy, Have FUN! H.Merijn

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://868373]
choroba played with the band on Saturday, so Sunday was very sleepy
[choroba]: managed to release Syntax::Construct with 5.28 support in the night, though
[Corion]: choroba: Whee ;)
[Corion]: marto: Ouch - I would've thought that kids adapt much better, but that's obviously not the case...
[marto]: well, their mother let them sleep till 15:00 & 12:00 last week, which didn't help them adjust :P
[Corion]: I was "productive" over the weekend in the sense that I revived my old "Perlmonks on SQLite" code, which likely means I can get a test instance back up running on my webhost. Small steps :)
[Corion]: marto: Ow, no, that doesn't help at all :)
[choroba]: Related to the new release, anyone could explain this or this tester report?
[Discipulus]: hello crew! marto thanks for the message: but I how can I help? i'm testing cpan Padre atm problem with Client::Debug
[choroba]: I don't happen to have 5.10.0 nor 5.8.5 handy...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2018-06-25 08:37 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.