in reply to Perl version usage

I write code against all versions, but do my best to have said code run against everything down to 5.8 at minimum, and 5.6.x where possible. Sometimes I include libraries where they themselves require versions higher, but very infrequently.

As an author more than a user, I 'use' every version that is visible to me that I can test against... Unix and Windows; I mean every version.

No features inspire me, but I most definitely have read and understand every perldelta since the 5.6 days, and know what became available and when (of course, can't recall everything all the time ;)

So, from my perspective, I code with 5.8 in mind, where possible.

You? What made you ask this question?

Replies are listed 'Best First'.
Re^2: Perl version usage
by aartist (Pilgrim) on Dec 27, 2017 at 16:10 UTC
    Thank you for the answer.

    What made you ask this question?

    I was checking if there is a new school of thought `how to use Perl`, keeping newer versions in mind.

      While I applaud stevieb's approach and might even consider it a best practice, holding oneself back to versions of Perl that were EOL'd a decade or more ago is akin to saying new versions of Perl do not matter. Moving from 5.6 to 5.26 is trivial compared to, say, moving from python 2 to 3. And if we're in a marketshare war, I argue expending effort to support old code is philanthropic but invisible.

      I think //= is, at this point, reasonable to expect. That means 5.10. I know there is a lot of 5.8 out there, I'm unhappily stuck on it at work but not for much longer. I don't personally feel the slightest responsibility on the cusp of 2018 to support it.