Skip Menu |

This queue is for tickets about the Net-UKDomain-Nominet-Automaton CPAN distribution.

Report information
The Basics
Id: 29939
Status: new
Priority: 0/
Queue: Net-UKDomain-Nominet-Automaton

People
Owner: Nobody in particular
Requestors: perl [...] hm2k.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.06
Fixed in: (no value)



Subject: Can't call method "errstr" on an undefined value at ...
I'm getting this error: Can't call method "errstr" on an undefined value at blib/lib/Net/UKDomain/Nominet/Automaton.pm (autosplit into blib/lib/auto/Net/UKDomain/Nominet/Automaton/query.al) line 643. So I've tried to find the problem, using: nano `perldoc -l Net::UKDomain::Nominet::Automaton` I've tried to test this by changing line 643, even moving it up or down, the error line still persists when I call the query sub. Even if I move the entire sub down, the error remains the same, including the line number. I've tried this on functions such as "renew", this causes a similar error, the line number is different, but doesn't change.
From: perl [...] hm2k.org
This was fixed by doing the following... On line 14, add: our $pgp = undef; # Global error string for carrying $pgp between subs On line 519 (in sign sub), change: my $pgp = undef; to: $pgp = undef; --- This will carry the $pgp between subs correctly. On Thu Oct 11 22:42:03 2007, hm2k wrote: Show quoted text
> I'm getting this error: > > Can't call method "errstr" on an undefined value at > blib/lib/Net/UKDomain/Nominet/Automaton.pm (autosplit into > blib/lib/auto/Net/UKDomain/Nominet/Automaton/query.al) line 643. > > So I've tried to find the problem, using: > > nano `perldoc -l Net::UKDomain::Nominet::Automaton` > > I've tried to test this by changing line 643, even moving it up or down, > the error line still persists when I call the query sub. > > Even if I move the entire sub down, the error remains the same, > including the line number. > > I've tried this on functions such as "renew", this causes a similar > error, the line number is different, but doesn't change.