Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-18 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls