in reply to Re: Argument "" Isn't numeric in numeric eq (==)
in thread Argument "" Isn't numeric in numeric eq (==)
The OP's code answers these questions.
Given the OP's dataset:
1,1,,,, 1,2,,,, 3,4,1,1,, 1,1,1,1,, 5,6,3,4,1,2 1,1,,,, 1,1,1,1,1,1
the code indicates that "Success" obtains when at least one of the following tuples is '1,1' and "Fail" obtains when one is '1,2':
(n,n),(n,n),(n,n) ^ ^ ^ | | | | | + - Tuple 3 | + - Tuple 2 + - Tuple 1
Edit: Added the "Fail" condition. Thank you, Jim.
In Section
Seekers of Perl Wisdom