I'm not sure why you're getting such unpredictible behavior, but if you do a perldoc on MIME::Base64 and check out the examples, you'll see a couple of neat tricks. My favorite is the "if you have enough memory" option:
use MIME::Base64 qw(encode_base64); local($/) = undef; # slurp print encode_base64(<STDIN>);
Spud Zeppelin * spud@spudzeppelin.com
In reply to RE: about MIME::Base64
by spudzeppelin
in thread about MIME::Base64
by Delfer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |