From: Bing Du <du...@mo...> - 2002-07-16 20:10:54
|
Is /usr/perl5/site_perl/5.005/Net listed in the list of directories returned by the following command? % perl -e 'print "@INC"' If not, you will want to include use lib '/usr/perl5/site_perl/5.005/Net'; before use NET::LDAP; Bing Du <bi...@ta..., 979-845-9577> Texas A&M University, CIS, Operating Systems, Unix On Tue, 16 Jul 2002, Khandelwal, Radhesham (Radhesham) % wrote: > Hello, > I have a problem, I am unable to run my perl script at command line of Unix. > perl script has just 2 lines. > > #! usr/bin/perl > use NET::LDAP; > > it end up throwing error > > Can't locate Net/LDAP.pm in @INC (@INC contains...path) at ldap_test.pl line > 2. > > I have LDAP.pm package existing at /usr/perl5/site_perl/5.005/Net > I have all other scripts running, even DBI too. > > > > I will appreciate your help > Thanks > Sham > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > |