Subject: | Does not strip \r from error messages |
The last_error() method does not strip \r from the error messages, which
makes it a bit messy when reporting to STDERR:
$ perl -MNet::IMAP::Client -wle 'my $i = Net::IMAP::Client->new( server
=> "imap.gmail.com", user => q"foo@example.com", pass => 42, ssl => 1, )
or die; $i->login or die "login failed: ", $i->last_error;'
at -e line 1.Invalid credentials l12if1306244fgb.51