Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 imbibing at the Monastery: (16)
As of 2014-10-24 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (133 votes), past polls