OK i've done some more testing and it seems to error if Net::LDAP is installed as a user module. It seems fine if installed into core perl. Did you have it installed as a user module Peter?
Tried importing with -I switch and use lib. Unfortunately have to do some other work for a while, will try to look a bit more tomorrow. Matt --- Peter Marschall <[EMAIL PROTECTED]> wrote: > Hi, > > On Monday 24 January 2005 03:30, Graham Barr wrote: > > On Sat, January 22, 2005 9:33 am, Peter Marschall > said: > > > I think you are right. > > > If Net::LDAP.pm does not import the constant, > > > Net::LDAP::Bind.pm cannot hope to get it > imported from Net::LDAP.pm > > > > Why not ? If you look, Net::LDAP::import actually > forwards everything > > to Net::LDAP::Constant. Net::LDAP does nto export > from its own namespace > > > > > I applied a fix to SVN > > > > The change you made should not be needed. > > hmmm, I admit I completely missed the Net::LDAP.pm > import function. > > But I have tried the sample program that Matt > povided with his mail. > Without the patch it failed due to the undefined > constant, while it worked > with the patch. > > Yours > Peter > > -- > Peter Marschall > eMail: [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
