http://qs321.pair.com?node_id=76130


in reply to Capturing input from pipe?

Oft-used command line switches related to this subject are -p, -n, and -a (especially in conjunction with -F). See perlrun for how they work and what they do.

hdp.