in reply to newbie and <STDIN>
chomp( @array = <STDIN> ); print "It worked!!"; [download]
I love that approach to error-checking. If only it were that easy all of the time!. ;)
Dave