Author Message

I'm having trouble understanding the MIME::Decoder usage.

and I want to uuencode it.  I thought I could instantiate a MIME::Decoder
with an encoding of  'x-uuencode' and then call the encode method as,

my $decoder = new MIME::Decoder('x-uuencode');

However, the encode method only accepts STREAMs as arguments.  Obviously I
could write out the array data to a temporary file, close it, open it for
input, open another temporary output file, call encode with the two
temporary files, close the temporary output file, open it for input, read it
into the uuencoded array, and then clean up the two temporary files.

I'm hoping there is a better way and that someone might share other
approaches with me.


Fri, 23 Dec 2005 04:15:21 GMT  
 [ 1 post ] 

 Relevant Pages 

1. MIME decoder

2. MIME decoder

3. MIME decoder?

4. MIME decoder

5. problems with MIME::Decoder

6. MIME Decoder

7. Base64 MIME decoder/encoder

8. MIME decoder

9. uu[en,de]code library

10. working uu(en|de)code module?

11. Convert::UU problem

12. Cleaning up uu files, aka:YANQ - Yet Another Newbie Question


Powered by phpBB® Forum Software