Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Why upgrade perl?

by poulhs (Beadle)
on May 22, 2013 at 07:51 UTC ( #1034699=note: print w/ replies, xml ) Need Help??


in reply to Re: Why upgrade perl?
in thread Why upgrade perl?

use v5.12;
versus
use strict;
is not much reduced typing ;-)
(I know it gives more than just strict)


Comment on Re^2: Why upgrade perl?
Select or Download Code
Re^3: Why upgrade perl?
by tobyink (Abbot) on May 22, 2013 at 16:10 UTC

    use v5.12; is less typing than use v5.10; use strict; though.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-07-02 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls