http://www.perlmonks.org?node_id=992534


in reply to chomping the output of Shell.pm

any clever suggestions how to automatically chomp them?

Modify Shell.pm to accept  { autochomp => [qw[ commands ]] }