Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Learning Moose, and have a few questions.

by moritz (Cardinal)
on May 13, 2013 at 12:34 UTC ( #1033287=note: print w/ replies, xml ) Need Help??


in reply to Learning Moose, and have a few questions.

Regarding your second question, you can do something like:

has ldap => (is => 'ro', default => sub { my $self = shift; return Net::LDAP->new($self->host); });


Comment on Re: Learning Moose, and have a few questions.
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033287]
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: (8)
As of 2015-07-07 12:38 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 (88 votes), past polls