As a side note to what hippo said, consider using the three argument open, and report failures:
open( my $fh, "<", "Q.txt" ) or die "can't open file: $!";
In reply to Re: How can I print all lines?
by marto
in thread How can I print all lines?
by 345qwerty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |