This is the modern way to open a file in perl:
open my $INFILE, '<', 'file.txt' or die "Couldn't open file.txt: $!";
In reply to Re: how to read every 10 line from input text file ?
by 7stud
in thread how to read every 10 line from input text file ?
by bh_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |