Help for this page
use strict; use warnings; use 5.010; #if you are using version 5.10 or higher.
my $count = 1; while (my $line = <STDIN>) { ...