use Data::Dumper; $Data::Dumper::Useqq = 1; ... print Dumper($command)
If you want to remove all trailing white spaces (including carriage return), try $command =~ s/\s+\z//;
In reply to Re: Problem using chomp on linux
by moritz
in thread Problem using chomp on linux
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |