Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Moose is lovely

by nothingmuch (Priest)
on Feb 29, 2008 at 20:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://671280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found