I think the answer is that generally they don't. If someone wants to share Perl code with me then I expect to see it in a plain text file with a .pl extension. Why? Because we each have a favourite way of looking at code. We have colours that we prefer and we have apreentation style that we prefer and generally our own personal environment is set up to work that way. Within my IDE of choice (ActiveState Komodo as it happens) I have set up Perl Tidy to format things just the way I like it.

If I want a hard copy, then I will print it the way _I_ like it.

Besides, in the end any coder you send code to wants to set it up for his environment and run it himself. I know I do, so sending me code to look at in such a way that I cannot execute it simply guarantaees that it will hit the recycle bin even more quickly than it might otherwise.

jdtoronto


In reply to Re: hardcopy printout of perl code by jdtoronto
in thread hardcopy printout of perl code by andyford

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.