I quote your post:
Languages need to evolve, but when C evolved into different varieties, ultimately, it was called a different language. The same seems to be true of Perl.
No. If you mean that C++ is a "different" language than C, that is wrong. C++ is a superset of C. This backward compatibility required a lot compromises. Ancient C code will compile using a C++ compiler.

update: A new attempt at expressing my thought: The difference between Perl 5 and 6 is much greater than the relative difference between C and C++. The code for my last C project the C code needed to be compatible with 4 compilers, 2 in C and 2 in C++. This is possible when writing new C code; however, an arbitrary existing program may or may not compile with a C++ compiler.

It is true that interfacing C and C++ binaries complied under different compliers can be problematic because at a fundamental level, each language uses a different subroutine calling protocol. In C the calling program manages the assembly lauguage stack. In C++, the callee (the subroutine) manages the assembly lauguage stack.

But this linking difference does not rise to the level of "a different language", at least not at the source code level.

If you like OO, the big difference in Perl over the past years has been better ways of doing it. Perl 5 OO has become much easier than it used to be.

I will leave it to other Monks to talk about Perl 5 OO, Moose, Moo and the tools that have become mainstream Perl 5 OO for users.

If you have older Perl 5 OO code, there is no problem running it together with more modern Perl 5 OO implementations. I suggest you become more informed about Perl 5 advances since you last used Perl in an OO environment.

Perl 6 is a completely different language from Perl 5. This is not at all like C versus C++.


In reply to Re: Perl6: Choosing language version in the shebang line? by Marshall
in thread Perl6: Choosing language version in the shebang line? by reverendmred

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.