What do you get if you let perl do the open rather than have the shell redirect>:
time perl -ne '$s=<>;<>;<>; chomp $s; print "$s\n";' A_1_1.fq | wc -l
In reply to Re^5: command line perl reading from STDIN
by BrowserUk
in thread command line perl reading from STDIN
by perlhappy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |