Subject: | Not a SCALAR reference at ...perl/5.8.8//IPDR/Collection/Client.pm line 731 |
Date: | Sat, 19 Feb 2011 17:09:47 +0100 |
To: | bug-IPDR [...] rt.cpan.org |
From: | pawel.golaszewski [...] tsspg.pl |
Hi,
When I was trying to use IPDR.client I get the following error:
Not a SCALAR reference at
${HOME}/perl/share/perl/5.8.8//IPDR/Collection/Client.pm line 731.
so I changed two lines in file that was get from
http://cpansearch.perl.org/src/SHAMROCK/IPDR-0.29/lib/IPDR/Collection/Client.pm
the lines before change has:
"if ( open
(__FILE,">".$self->{_GLOBAL}{'XMLDirectory'}."/".$$self->{_GLOBAL}{'ServerIP'}
) )"
after change:
"if ( open
(__FILE,">".$self->{_GLOBAL}{'XMLDirectory'}."/".$self->{_GLOBAL}{'ServerIP'}
) )"
(I changed $$ to $)
I also removed:
"if ( !$self->test_64_bit() )
{
# if you forgot to run make test, this will clobber
# your run anyway.
die '64Bit support not available must stop.';
}
"
Does this function test if the system is 64bit?
Regards
Pawel