Thanks, I was hoping someone would do the search that the original poster appears to not have done.

This isn't much different than a ton of other configuration differences.

I can ask a question for which the answers are quite independent of operating system (because Perl provides a good, portable solution for what I was asking about), and Perl version (because the solution don't have need for very new features so they all work for even quite old versions of Perl), and other possible configuration differences.

If discussing Perl one-liners, then the Unix users are going to be writing perl -e '...' examples and the Win32 users are going to be writing perl -e "..." examples. A few will recognize the potential for confusion and address it.

If I ask a question about a specific problem I am having using some regular expressions and note that I'm using Perl 5.006_00, it doesn't mean that answers dealing with Perl 5.009_01 can't be useful, because the problem might be enough to make upgrading Perl worthwhile for me.

So I think there will be many threads where even Perl 5 vs. Perl 6 won't matter. They'll be even more threads were some parts address Perl 5, some parts address Perl 6, some parts apply equally to both, and some parts don't have much to do with either one.

I liked the "use 5.006;" idea and I hope that Perl 6 will support it. So, for quite a while, if I publish Perl 6 code that is not meant to run in Perl 5, I'll include "use 6;" in it. And that should include code I write here.

I'm don't see how any formalized system of trying to mark threads or nodes as "Perl 5" or "Perl 6" could avoid being either very inaccurately applied or very incompletely applied.

I could see proposing an informal convention of including "(p6)" in nodes that are specific to Perl 6, starting now, while such nodes are still quite rare. When Perl 6 gets rolling along, we could propose doing a similar convention for "(p5)". And as those finally start becoming rare, we could propose that the "(p6)" convention be dropped.

- tye        


In reply to Re^2: How to let visitors know which Perl version we're talking about (muddy) by tye
in thread How to let visitors know which Perl version we're talking about by fraktalisman

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.