I suggest adding a .line property to $read as the current method of getting the line number:

/noop $read(...)
<code using $readn>

can shorten many a script by a line.