Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Moose is lovely

by nothingmuch (Priest)
on Feb 29, 2008 at 20:09 UTC ( #671280=note: print w/replies, xml ) Need Help??


in reply to Re^4: Moose is lovely
in thread Moose is lovely

Wonderfully. There's even a shortcut for that: lazy_build => 1. It works like this:
has foo => ( ... lazy_build => 1, ); sub _build_foo { my $self = shift; ... }
-nuffin
zz zZ Z Z #!perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://671280]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-03 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.