Dear List,
I am chaged with setting up LDAP monitoring using some
tool. I came across this Look.pl utility. But when I try to run this
file I got the error... I am a newbie to PERL.
perl look.pl
/usr/perl5/5.6.1/lib//sun4-solaris-64int/usr/perl5/5.6.1/lib//usr/iplane
t/perl5/lib/site/Mozilla/LDAP//usr/ds/v5.2/nsPerl5.005_03/lib/site/Mozil
la/LDAP//usr/ds/v5.2/nsPerl5.006_01/lib/site/Mozilla/LDAP//usr/perl5/5.6
.1/lib/sun4-solaris-64int/usr/perl5/5.6.1/lib/usr/perl5/site_perl/5.6.1/
sun4-solaris-64int/usr/perl5/site_perl/5.6.1/usr/perl5/site_perl/usr/per
l5/vendor_perl/5.6.1/sun4-solaris-64int/usr/perl5/vendor_perl/5.6.1/usr/
perl5/vendor_perl.
Can't locate object method "new" via package "Mozilla::LDAP::Conn"
(perhaps you forgot to load "Mozilla::LDAP::Conn"?) at look.pl line 767.
Thing is I have this Conn.pm in these many locations.
/usr/perl5/5.6.1/lib/Conn.pm
/usr/iplanet/perl5/lib/site/Mozilla/LDAP/Conn.pm
/usr/ds/v5.2/nsPerl5.005_03/lib/site/Mozilla/LDAP/Conn.pm
/usr/ds/v5.2/nsPerl5.006_01/lib/site/Mozilla/LDAP/Conn.pm
Where am I going wrong I tried adding the path in Use lib ...
Please help me out.
TIA
Carl
........................................................................
.............................
The wise want love; and those who love want wisdom.
--Percy Bysshe Shelley