in reply to Read reverse from a file

The line

print "@seq1";

was probably intended to do something different than what it actually does.
Other than that, the program should work. If you remove that line, then afaict the program's function will be exactly as you specified: "read a file, and then print its lines in reverse order".

Replies are listed 'Best First'.
Re^2: Read reverse from a file
by stamp1982 (Novice) on Jul 01, 2013 at 00:07 UTC
    Thanks! it did work!