Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 avoiding work at the Monastery: (6)
As of 2015-07-05 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls