good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm using 5.18.0 as my main development Perl already. Lexical subs seem like they'll be a nice new feature, but it'll probably be some time before they're suitable for production code. That said, Perl 5.18 seems to have brought more upgrade annoyances than Perl 5.16 did. Introducing warnings for smart match is annoying. Especially when they're difficult to disable. (no warnings "experimental::smartmatch"; seems easy, but dies in older versions of Perl, so you need something like no if $] >= 5.018, warnings => "experimental::smartmatch";.). Yet another annoyance with warnings.pm that makes me wonder why I bother enabling warnings to begin with (strict catches far more errors than warnings ever does).
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In reply to Re: What is the impact of 5.18.0?
by tobyink
|
|