I am writing a function that takes a associative array containing what
is returned by Net::LDAP.
I am passing it to the function like this...
my %results=mwc_dhcp_host_add({%ldapconnection},
$config{ip},$config{mac},
$config{baseDN},
Hi,
not a perl-ldap problem but a general Perl question:
1) Hashes in Perl are case-sensitive: ldap vs. LDAP.
2) You need to write $ldapcnnection->{ldap} or $$ldapconnection{ldap}
as $ldapconnection is a hash ref
Hope it helps
Peter
On Tuesday, 19. September 2006 17:58, Zane C. Bowers wrote
On Tue, 19 Sep 2006 20:49:44 +0200
Peter Marschall <[EMAIL PROTECTED]> wrote:
> Hi,
>
> not a perl-ldap problem but a general Perl question:
> 1) Hashes in Perl are case-sensitive: ldap vs. LDAP.
> 2) You need to write $ldapcnnection->{ldap} or $$ldapconnection{ldap}
> as $ldapconnection is a