http://www.perlmonks.org?node_id=1024293

rmichael has asked for the wisdom of the Perl Monks concerning the following question:

Perl's MIME::Base64::encode() generates 76-character lines. I would like to generate 64-character lines (PEM format base64). The encode method does not have a line length parameter.

It appears I could use Convert::PEM to specifically generate PEM content, although in that case, I need to investigate ASN.1 descriptions too.

I don't have much history with Perl, so before I dive in I wanted to ask for suggestions. Thank you!