Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-09-30 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (572 votes). Check out past polls.