http://www.perlmonks.org?node_id=642181


in reply to How to write a program to read stdin or command line?

Ah File::Tools has an excellent suggestion of examples. His discussion of grep is just what you need.


Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
  • Comment on Re: How to write a program to read stdin or command line?