in reply to A question about PERL versioning.

I think I understand now. My base version is '5.14', but if I need to use optional features of the version, I need to tell PERL to explicity use that version. I didn't realize that 'say' was an optional command. I don't really need to use 'say', I was just confused by the PERL interpreter reporting back that it didn't know what 'say' was without the explicit version call.

Thank you so much to everyone for the replies and for your patience.

Replies are listed 'Best First'.
Re^2: A question about PERL versioning.
by Laurent_R (Canon) on Oct 09, 2013 at 16:50 UTC

    The say feature was introduced in Perl version 5.10. In order not to break programs written under older versions which might for example use a say function for something else, the say features requires a use pragma such as use 5.10 or use 5.14. This way, older programs continue to work properly, but you can use say in new programs through the use pragma.

    As for versions, 5.14.2 and 5.014002 are just the same, two differents notations for the same version.

Re^2: A question about PERL versioning.
by Anonymous Monk on Oct 09, 2013 at 16:37 UTC
    Some of us would be thankful to you if you would use "Perl" (note the case) to refer to the programming language, modules, and use "perl" to refer to the interpreter.
Re^2: A question about PERL versioning.
by Anonymous Monk on Oct 10, 2013 at 01:31 UTC