in reply to STDIN method?

This is a FAQ: perldoc -q switch