in reply to Re^4: Reading Text Lines
in thread Reading Text Lines

print(qq{<a href="?pos=$pos">next page</a>});
as seen in my earlier reply.