Regarding your second question, you can do something like:
has ldap => (is => 'ro', default => sub { my $self = shift; return Net::LDAP->new($self->host); });
In reply to Re: Learning Moose, and have a few questions.
by moritz
in thread Learning Moose, and have a few questions.
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |