Hi ,
I am very new user to Net::Gnats.
As a simple example i tried first connecting to Net::Gnats, and tried the following code.
##############################
use Net::Gnats;
my $g = Net::Gnats->new();
if ($g->connect()) {
print "\nSuccessfully connected";
}
#my @dbNames = $g->getDBNames();
if ($g->login("DBNAME","USERNAME","PASSWD")) {
print "\nSuccessfully logged in";
}
my $prnum =33090;
my $PR = $g->getPRByNumber($prnum);
print $PR->getField('synopsis');
##############################
I continuously get the following error message.
Please guide me how to go about.
---------------------------------
gnatsweb: client_init error: Unknown error ; at C:/Perl/site/lib/Net/Gnats.pm li
ne 90.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 729.
Use of uninitialized value in substitution (s///) at C:/Perl/site/lib/Net/Gnats.
pm line 738.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 743.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 729.
Use of uninitialized value in substitution (s///) at C:/Perl/site/lib/Net/Gnats.
pm line 738.
---------------------------------
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ,
I am very new user to Net::Gnats.
As a simple example i tried first connecting to Net::Gnats, and tried the following code.
##############################
use Net::Gnats;
my $g = Net::Gnats->new();
if ($g->connect()) {
print "\nSuccessfully connected";
}
#my @dbNames = $g->getDBNames();
if ($g->login("DBNAME","USERNAME","PASSWD")) {
print "\nSuccessfully logged in";
}
my $prnum =33090;
my $PR = $g->getPRByNumber($prnum);
print $PR->getField('synopsis');
##############################
I continuously get the following error message.
Please guide me how to go about.
---------------------------------
gnatsweb: client_init error: Unknown error ; at C:/Perl/site/lib/Net/Gnats.pm li
ne 90.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 729.
Use of uninitialized value in substitution (s///) at C:/Perl/site/lib/Net/Gnats.
pm line 738.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 743.
Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/Net/Gnats.
pm line 729.
Use of uninitialized value in substitution (s///) at C:/Perl/site/lib/Net/Gnats.
pm line 738.
---------------------------------