Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Why upgrade perl?

by tobyink (Abbot)
on May 22, 2013 at 16:10 UTC ( #1034779=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^3: Why upgrade perl?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-05-30 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (594 votes), past polls