Re: MIME::Entity , decoding Base64 image/jpg

From: Gerard Lanois (gerardlanois_at_netscape.net)
Date: 02/12/04


Date: Thu, 12 Feb 2004 07:58:11 GMT

pawan <chawla@purdue.edu> writes:

pawan <chawla@purdue.edu> writes:

> I would appreicate any help in solving the problem.

Use MIME::Parser, as shown in this example:

        http://perlmonks.org/index.pl?node_id=95893

> Also some images are
> uuencoded, is there a CPAN module, which detects the encoding and is able
> to apply the appropriate decoder?

Not necessary. MIME::Parser will do it for you automatically, if you
do this:

        $parser->extract_uuencode(1);

-Gerard