sub my_chomp { wantarray ? (map{ /\n$/ ? substr $_, 0, (length)-1 : $_ } @_) : chomp(my $x = shift),$x };