Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Why upgrade perl?by tobyink (Canon) |
on May 22, 2013 at 16:10 UTC ( [id://1034779]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|