Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Problem Encoding/Decoding PDF with MIME::Base64

by DamnDirtyApe (Curate)
on Apr 28, 2004 at 20:57 UTC ( #348952=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use strict;
    ...
    encode_base64( io( $ARGV[0] )->slurp ) > io( $ARGV[1] );
    
    __END__
    
  2. or download this
    #! /usr/bin/perl
    use strict;
    ...
    decode_base64( io( $ARGV[0] )->slurp ) > io( $ARGV[1] );
    
    __END__
    
  3. or download this
    Z:\>perl encode_base64.pl yearsinservice.pdf yis.b64
    
    Z:\>perl decode_base64.pl yis.b64 yis.pdf
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://348952]
Approved by DigitalKitty
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2021-11-27 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?