#!/usr/bin/perl use strict; use warnings; while () { chomp; print "READ FROM STDIN: $_\n"; }