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 ]] }