If either operand of scalar .. is a constant expression, that operand is considered true if it is equal (==) to the current input line number (the $. variable).So, if you're not using constants, you have to do the comparison yourself:
print if ($. == $i) .. ($. == $j); # The parentheses are optional.
In reply to Re: flip-flop interpolation
by choroba
in thread flip-flop interpolation
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |