in reply to Re: Mail::POP3Client Windows-1252 decoding
in thread Mail::POP3Client Windows-1252 decoding

MIME::QuotedPrint did it. Thanks you. MIME::Decoder seems to work only with filehandles.
  • Comment on Re^2: Mail::POP3Client Windows-1252 decoding

Replies are listed 'Best First'.
Re^3: Mail::POP3Client Windows-1252 decoding
by pc88mxer (Vicar) on Jun 04, 2008 at 20:27 UTC
    True, but it's pretty easy to use a scalar variable as a file:
    open(my $fh, ">", \my $text); $decoder->decode(\*DATA, $fh); print "decoded text = $text\n";