Posted on 2006-11-29 01:23:20-08 by timdaley
my variable $value masks earlier declaration
The following error occurs in "make test":
t/libtest...."my" variable $value masks earlier declaration in same statement at /root/.cpan/build/ +SNMP-Util-1.8/blib/lib/SNMP/Util.pm line 804.\
in the following code:
my( $IP, $value, $oid, $value, $value_hi, $value_lo, @range, @restore_oid_list, @set_oid_list, @value_array, );
Sure enough, $value is in the list twice. Is it extraneous or did another variable get wiped out?
Direct Responses: 3649 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.