chomp $whole_input; parse( $_ ) for split /\n/, $whole_input;