open(INFILE,"cat textfile |") while(<INFILE>) {...} open(INFILE,"textfile") while(<INFILE>) {...} system("cat textfile | filter.pl") [download]
In reply to cat vs. file handle speed? by dorpus