Subject: | Argument "AA90" isn't numeric in division (/) at (eval 2) line 1. |
Date: | Fri, 05 Dec 2008 17:13:07 +0100 |
To: | bug-Device-LaCrosse-WS23xx [...] rt.cpan.org |
From: | Lars de Bruin <lars [...] larsdebruin.net> |
I am using a simple script to get the outside temperature.
Perl is in sctrict mode and run with the -w option.
I seem to get this error back: Argument "AA90" isn't numeric in division
(/) at (eval 2) line 1.
Is this a bug?
What is causing this?
my $ws = Device::LaCrosse::WS23xx->new($serial) or die "Cannot
communicate with $serial: $!\n";
my $outdoortemp = $ws->get("Outdoor_Temp");
my $indoortemp = $ws->get("Indoor_Temp");
print "$outdoortemp $indoortemp";