Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (11)
As of 2014-10-30 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls