If I've got a file that looks like so:
<!--my file-->
hello
there
my
name
is
Mr.
Bigglesworth
<!--end my file-->
Where the first and last lines server as delimiters of sorts.
I can skip the first line, of course, with a skip=1 in the READLN command. Is there a way to also skip the *last* line, from the command, as well? Maybe some sort of comparison between $loop and $next?
<!--my file-->
hello
there
my
name
is
Mr.
Bigglesworth
<!--end my file-->
Where the first and last lines server as delimiters of sorts.
I can skip the first line, of course, with a skip=1 in the READLN command. Is there a way to also skip the *last* line, from the command, as well? Maybe some sort of comparison between $loop and $next?