until ($odometer[$wheel] < 9 || $wheel < 0) #ok original #negated direct form also ok while ( !($odometer[$wheel] < 9 || $wheel < 0) ) while ($odometer[$wheel] > 9 || $wheel < 0) # NO while ($odometer[$wheel] > 8 || $wheel < 0) # OK but NOT for greter than limit of the odometer! #Use of uninitialized value in numeric eq (==) at C:\SCRIPTS\odometer.pl line 27. #Modification of non-creatable array value attempted, subscript -3 at C:\SCRIPTS\odometer.pl line 26. #getting: 9 9-> while ($odometer[$wheel] == 9 || $wheel < 0) # OK but NOT for greter than limit of the odometer! #Use of uninitialized value in numeric eq (==) at C:\SCRIPTS\odometer.pl line 27. #Modification of non-creatable array value attempted, subscript -3 at C:\SCRIPTS\odometer.pl line 26. #getting: 9 9-> while ($odometer[$wheel] == 9 && $wheel >= 0) # OK