I want to thank you and several others who responded to my query soo quickly. Thansk for the help!

I have another question. The our keyword is not in Programming Perl, 2nd edition by Larry Wall, Tom Christiansen and you, Randal L. Schwarts. If we are going to use the our keyword construct in the script we are developing at work to deliver to our customers, then I need to know the first version of Perl in which our was introduced and supported. That way I can know whether a customer who has a given version of Perl will be able to run the script we are developing. If our is too new and only in very recent versions of Perl, then I will just ask my team to strike it from our script and use a different declaration method.

So that'd be question one: when was our introduced in Perl? I do know that it is possible it's been in Perl a very long time and I've just encountered it now -- I'm not that big headed...

My next question would be, is there a place, preferably online, where I can check Perl language constructs (keywords) against Perl versions, so I can know which version supports which construct? That would be really helpful. That way if I encounter another construct that I haven't seen before, I can at least lookup the language compatibility information so I don't have to keep posting those kinds of questions. Not to mention there may be a lot of developers who simply don't care when a construct (keyword) entered the language. I guess whether one cares about that or not depends on what one is using Perl for.


In reply to Re: •Re: Perl keywords for declaring variables: my, our and local??? by jira0004
in thread Perl keywords for declaring variables: my, our and local??? by jira0004

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.