in reply to MIME::Base64 Question

From the MIME::Base64 docs:

Encode data by calling the encode_base64() function. The first argument is the string to encode. The second argument is the line-ending sequence to use. It is optional and defaults to "\n". The returned encoded string is broken into lines of no more than 76 characters each and it will end with $eol unless it is empty. Pass an empty string as second argument if you do not want the encoded string to be broken into lines.

True laziness is hard work

Replies are listed 'Best First'.
Re^2: MIME::Base64 Question
by deMize (Monk) on Mar 02, 2009 at 19:05 UTC
    Adding the '' works. Thanks a lot.

    I was aware of the second parameter, but I thought this had to do with the final line termination, not midway through the encoded string.


    Thank you all for your help.