Loops is right about the redirection still being in effect.
Another way to print to console is:
print STDERR "$rows[-1]";In reply to Re: Output to STDOUT and print last line to console
by RonW
in thread Output to STDOUT and print last line to console
by waytoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |