Peter Mogensen wrote:
> Peter Mogensen wrote:
> > Uhh... HEAD won't run.
>> The reason being a typo in line 31 of lib/Net/LDAP/Entry.pm:
> ...
>> 31 retrun $entry;
>
>
> anyway... after fixing that I still can't get it to work. ... probably
> my fault though.
Or maybe not...
>From what I can se the raw attribute is never set on the Net::LDAP
object and thus never passed to the search.
If I print @_ and Data::Dumper the Net::LDAP object in "new" I get:
$ perl -I./lib/perl/ -MNet::LDAP -e '$a = new
Net::LDAP("localhost",raw=>qr/fdf/);'
OPT:localhost:raw:(?-xism:fdf)
RAWDUMP:
$VAR1 = bless( {
'net_ldap_scheme' => 'ldap',
'net_ldap_uri' => 'localhost',
'net_ldap_port' => 389,
'net_ldap_socket' => bless( \*Symbol::GEN0,
'IO::Socket::INET' ),
'net_ldap_host' => 'localhost'
}, 'Net::LDAP' );
???
Peter