I have borrowed this code and don't know what it's trying to do - is it a standard?

Don't know if that code is standard (probably not, since it doesn't seem to work). But base64 is certainly a standard, which is documented here -- start at page 23.

Also, follow up on perlplexer's advice, if you can. Got a home directory, some disk space, and a shell prompt? download the MIME module for perl yourself, make a subdir in your home called "perl_modules", install the download there, then add "-I/home/you/perl_modules" on the shebang line of your perl script that uses the module. Perl will find it.

www.cpan.org will have some info and methods that will make this easy.


In reply to Re: Re: Re: Question about Binary files by graff
in thread Question about Binary files by zzzeno

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.