Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: aliasing arrays using typeglob under strict

by tobyink (Abbot)
on Feb 08, 2013 at 06:41 UTC ( #1017771=note: print w/ replies, xml ) Need Help??


in reply to Re: aliasing arrays using typeglob under strict
in thread aliasing arrays using typeglob under strict

You're overlooking write access to the array.

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


Comment on Re^2: aliasing arrays using typeglob under strict

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-07-11 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls