in reply to Re^4: flipflop .. operator. More about $. var
in thread State information for flipflop .. operator.
What I meant was that the result of the .. terms are compared to $. if the terms are numeric. For example:
Will print lines 1 through 10 of the input, by using $. to compare to, which is 1-based.while (<>) { if (1 .. 10) { } }
$. doesn't go anywhere if you are not using <>, it just doesn't get reset and incremented. Furthermore, incrementing it yourself is probably not a good idea. Who knows what other (called) code might use it.
|
|---|