RE: Help with @INC

2007-02-24 Thread Carl Sajjan
I tried making a few changes now and it didn't show the perl module error... it shows a different type of error. I gave the absolute path in the location as shown in the line below. Illegal division by zero at Look.pl line 763. Line 763 is $ldap_conn = new /usr/iplanet/perl5/lib/site/Mozilla

RE: Help with @INC

2007-02-24 Thread Carl Sajjan
Rob, Thanks a lot for your reply. I modified my perl file as follows , but still I get the same error. use lib qw(/usr/perl5/5.6.1/lib/ 130 /usr/iplanet/perl5/lib/site/Mozilla/LDAP/ 131 /usr/ds/v5.2/nsPerl5.005_03/lib/site/Mozilla/LDAP/ 132 /usr/ds/v5.2/nsPerl5.006_01/lib/site/M

Re: Help with @INC

2007-02-24 Thread Rob Dixon
Carl Sajjan wrote: > > 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/iplanet

Re: Help with @INC

2007-02-24 Thread Ken Foskey
On Sat, 2007-02-24 at 20:55 +0530, Carl Sajjan wrote: > Can't locate object method "new" via package "Mozilla::LDAP::Conn" > (perhaps you forgot to load "Mozilla::LDAP::Conn"?) at look.pl line 767. do you have this near the top of your script? use Mozilla::LDAP::Conn; -- Ken Foskey FOSS deve

Help with @INC

2007-02-24 Thread Carl Sajjan
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/p