Delfer has asked for the wisdom of the Perl Monks concerning the following question:
encoded results by MIME::Lite:use MIME::Lite; $msg = new MIME::Lite Type =>'image/gif', Path =>'d:/forum.gif', Filename =>'forum.gif'; $msg->print;
encoded results by MIME::Base64:use MIME::Base64 qw(encode_base64); open(FILE, "d:/forum.gif") or die "$!"; while (read(FILE, $buf, 1024)) { $file.=$buf} print encode_base64($file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: about MIME::Base64
by spudzeppelin (Pilgrim) on Aug 24, 2000 at 19:40 UTC | |
|
RE: about MIME::Base64
by tenatious (Beadle) on Aug 25, 2000 at 05:23 UTC | |
by Delfer (Novice) on Aug 25, 2000 at 07:25 UTC | |
by tenatious (Beadle) on Aug 25, 2000 at 08:19 UTC |