Base64 in Redhat9, SuSe10, ...

John Van Ostrand john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
Tue Jun 27 15:40:57 UTC 2006


On Tue, 2006-06-27 at 11:38 -0400, William Park wrote:

> On Slackware, I have 'mimencode' (part of Metamail package) which does
> Base64 encoding/decoding.  I looked into Redhat 9 and SuSE 10, and can't
> find anything comparable.  How do you guys encode/decode base64?



#!/usr/bin/perl
#
#
use MIME::Base64;

while (<>) {
        chomp;
        print decode_base64($_);
}


-- 
John Van Ostrand
         Net Direct Inc.
 
Chief Technology Officer
564 Weber St. N. Unit 12
   Waterloo, ON N2L 5C6 
 map 
john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
        Ph: 519-883-1172
 ext.5102
Linux Solutions / IBM
Hardware
        Fx: 519-883-8533
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20060627/68521f36/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20060627/68521f36/attachment.sig>


More information about the Legacy mailing list