> It all depends upon the value of $/, the record separator variable.
Of course if you read a file in
slurp mode you actually just read 1 record and the official name
INPUT_LINE_NUMBER is somewhat misleading because lines become a logical measure.
And if you set $/ to some weird separator the meaning of
line is actually set to something completely different.