Mega Code Archive
Categories
/
Perl
/
Language Basics
Perl can take its input from a file and send its output to a file using standard IO redirection
$ perl -ne 'print;' < yourTextFile $ perl -ne 'print' emp.first > yourTextFile