Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 wandering the Monastery: (11)
As of 2015-03-31 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (661 votes), past polls