Re: perl-ldap-0.4001 and use Net::LDAP qw(:all) produces error

harish badrinath <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Sorry just found http://www.mail-archive.com/[email protected]/msg00003.html

if this message solves this issue please discard this series of mails.

Regards,
Harish Badri nath

---------- Forwarded message ----------
Hello,
 I am trying to configure auth_ldap with qpsmtpd.

When i restart qpsmtpd:

root@mail:~/.cpan/build# /etc/init.d/qpsmtpd restart
"all" is not defined in %Net::LDAP::Constant::EXPORT_TAGS at
/usr/local/share/perl/5.10.1/Net/LDAP.pm line 38
eval Can't continue after import errors at
/usr/share/qpsmtpd/plugins/auth_ldap_bind line 38
BEGIN failed--compilation aborted at
/usr/share/qpsmtpd/plugins/auth_ldap_bind line 38, <DATA> line 522.


Here is a list of modules installed on the machine.

root@mail:~/.cpan/build# instmodsh
Available commands are:
  l            - List all installed modules
  m <module>   - Select a module
  q            - Quit the program
cmd? l
Installed modules are:
  Convert::ASN1
  File::MMagic
  Net::LDAP
  Perl
  XML::Filter::BufferText
  XML::SAX::Writer
  YAML

I have very little experience using perl, but i do know that things
like use CGI qw(:all) should work.

Am i missing something here or should i go for an older version of perl-ldap ??

Greetings,
Harish Badri Nath
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.