logo       

Re: CAUSE: Can't call method X without a package or object: msg#00070

Subject: Re: CAUSE: Can't call method X without a package or object
Graham Barr wrote:
> On Nov 11, 2003, at 17:55, Chris Masters wrote:
>
>> I upgraded to 0.30 directly after you suggested. All
>> mails after your suggestion were refering to a 0.30
>> version installation.
>
>
> Then please add the following directly after your call to search and
> before you try to call any methods on $mesg
>
> warn "'$mesg'" unless ref($mesg);
Hello Graham,
I've been following this thread as I'm having the same problem with search.
I'm running NetBSD -current with perl 5.6.1. We're also seeing the same problem with perl 5.8. on Debian Linux kernel 2.4.21.072103. I've upgraded Net::LDAP to 0.30,
but the problem still exists.  I added the warn function and i get:

'81' at ./nis2ldap line 150.

However my script works if I do

my $ldap = Net::LDAP->new($ldaphost,version => 2)

but fails if we use the default version => 3.


./i'khala


>
> Graham.
>
>>
>>
>> --- Graham Barr <gbarr@xxxxxxxxx> wrote:
>>





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe