The first perl I used was some version 4. Later, I found out that 5 already existed at that point, which was why many things that I read about did work on my computer, but not on the web server I was using.

So I have experienced a transition from 4 to 5, and I have to say I couldn't live without references, lexicals and OO anymore. That's one of the major reasons I can't cope with PHP: it lacks real references and lexical variables.

The upgrade to 5.6 was great in many other ways. Lexical filehandles, lexical warnings, the our operator (lexical declaration of global variables), 3-arg open, 0binary notation, I like and use them all. This does mean my code is not compatible with the occasional 5.005 out there, but it makes everything a lot easier to create and maintain.

Upgrading to 5.8 was less spectacular. The only thing that comes to mind is that it has much better unicode support.

5.10 will shine again, with the introduction of the defined-or operator as the (for me) most important improvement.

I have used perl 1, and have even tried (for fun) to create Perl 1+4+5 compatible programs. It's possible! During this I learned a lot about Perl's history. See for example the archaic do syntax for calling subroutines, that is still supported in Perl 5!

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


In reply to Re: Been with Perl since the Beginning? by Juerd
in thread Been with Perl since the Beginning? by ghenry

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.