note
moritz
<p>Regarding your second question, you can do something like:</p>
<code>
has ldap => (is => 'ro', default => sub {
my $self = shift;
return Net::LDAP->new($self->host);
});
</code>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-616540">
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
</div></div>
1033283
1033283