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

2003-11-11 Thread Graham Barr
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 "'$m

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

2003-11-11 Thread Chris Masters
I upgraded to 0.30 directly after you suggested. All mails after your suggestion were refering to a 0.30 version installation. --- Graham Barr <[EMAIL PROTECTED]> wrote: > Have you tried perl-ldap-0.30 as suggested in a > previous mail ? > > Graham. > > On Nov 11, 2003, at 17:21, Chris Masters

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

2003-11-11 Thread Graham Barr
Have you tried perl-ldap-0.30 as suggested in a previous mail ? Graham. On Nov 11, 2003, at 17:21, Chris Masters wrote: Appologies. I was not unbinding before I attempted to rebind after I found the error. Does 'I/O Error' refer to the socket connection being closed by the server? Note: forward

Fwd: CAUSE: Can't call method X without a package or object

2003-11-11 Thread Chris Masters
Appologies. I was not unbinding before I attempted to rebind after I found the error. Does 'I/O Error' refer to the socket connection being closed by the server? Note: forwarded message attached. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressG

Fwd: CAUSE: Can't call method X without a package or object

2003-11-11 Thread Chris Masters
Hi Again, I'm handling this error by using the code below and to catch an error and establish a new connection. The problem is that the root error seems to be 'I/O Error' rather than a 'lost connection' error. I can't find this in the Net::LDAP::Constant list. It seems to happen after the server

CAUSE: Can't call method X without a package or object

2003-11-11 Thread Chris Masters
Hi Graham, Managed to get this before it failed: LDAP Error: Server encountered an internal error Is this really server side? Thanks for any help on this, Chris __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/what

Re: Can't call method X without a package or object reference

2003-11-11 Thread Graham Barr
On Nov 11, 2003, at 13:01, Chris Masters wrote: Please keep it on list $mesg will always be defined. You need to look at $mesg->code to determine if there was a problem. Can't call method "code" without a package or object reference at blah! with the following code after calling search: if($

Re: Can't call method X without a package or object reference

2003-11-11 Thread Graham Barr
On Nov 11, 2003, at 11:13, Chris Masters wrote: I'm getting this problem intermittenly i.e. it works for the first few runs, then it fails. Getting this error: Can't call method "entry" (or count etc) without a package or object reference at ... (the first entry call in the if test) Odd. eval {

Re: Can't call method X without a package or object reference

2003-11-11 Thread Graham Barr
On Nov 11, 2003, at 11:58, Chris Masters wrote: Hi Graham, Did you forget to add your comment? No, I should not have sent it. Many people email me directly and I just forward them to the list. I was not thinking and just forwarded your mail to the list when I should not have. Graham. Thanks,

Re: Fwd: Can't call method X without a package or object reference

2003-11-11 Thread Chris Masters
Hi Graham, Did you forget to add your comment? Thanks, Chris --- Graham Barr <[EMAIL PROTECTED]> wrote: > Begin forwarded message: > > From: Chris Masters <[EMAIL PROTECTED]> > > Date: November 11, 2003 11:13:12 GMT > > To: [EMAIL PROTECTED] > > Subject: Can't call method X without a packa

Fwd: Can't call method X without a package or object reference

2003-11-11 Thread Graham Barr
Begin forwarded message: From: Chris Masters <[EMAIL PROTECTED]> Date: November 11, 2003 11:13:12 GMT To: [EMAIL PROTECTED] Subject: Can't call method X without a package or object reference Message-Id: <[EMAIL PROTECTED]> Hi All, I'm getting this problem intermittenly i.e. it works for the firs

Can't call method X without a package or object reference

2003-11-11 Thread Chris Masters
Hi All, I'm getting this problem intermittenly i.e. it works for the first few runs, then it fails. Getting this error: Can't call method "entry" (or count etc) without a package or object reference at ... (the first entry call in the if test) with the following code (I'm calling a function con