those are warnings, not errors. The problem is probably in here:
- $data = $sub_data[$i];
-
-
if ("$data" ne "NO") {
-
-
if (($data < $firstVar) || ($data > $secVar))
$data must not be getting defined which means $sub_data[$i] must not be defined. Print $data to the screen as the script runs to check its value. Did you get Tie::CheckVariables working?