git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Let's bump the minimum Perl version to 5.8

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Sep 24, 2010, 13:47 UTC
Message-ID
<86pqw3uuba.fsf@red.stonehenge.com>
In-Reply-To
<AANLkTikp0mkFHYCdgqThfoFr3VkVECDmW6qE3+DSSHaq@mail.gmail.com>
>>>>> "Ævar" == Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:

Ævar> Since we're not getting patches for common things that have been Ævar> broken on 5.6 for years and bumping the requirenment to an 8 year old Ævar> perl (5.8) instead of a 10 year old one (5.6) would make things much Ævar> easier, including:

Ævar>  * Fixing the perl/ Makefile mess
Ævar>  * Being able to use 5.8 features

Ævar> * Being able to honestly support the 5.8 release, 5.6 doesn't even Ævar> compile on modern systems without undocumented monkeypatches, and Ævar> few people use it so we don't get fixes for it.

Ævar> I'd like to propose dropping 5.6 support, and move to say 5.008. I can Ævar> do the work required to add appropriate docs / use statements and Ævar> fixes to bugs that we can't fix on 5.6.

As the token resident Perl expert, I'd be completely fine with that. Sane choice.

It might be useful to document that by adding:
  require 5.008;

at the beginning of each file that presumes it, as you get around to editing it.

That way, Perl won't even try to run it if it's too old.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Previous: Joshua JuranNext: Ævar Arnfjörð Bjarmason
Message 12 of 18 in “Let's bump the minimum Perl version to 5.8”
  1. Ævar Arnfjörð BjarmasonSep 24, 2010
  2. Tor ArntsenSep 24, 2010
  3. Ævar Arnfjörð BjarmasonSep 24, 2010
  4. Andreas EricssonSep 24, 2010
  5. Ævar Arnfjörð BjarmasonSep 24, 2010
  6. Andreas EricssonSep 26, 2010
  7. Tor ArntsenSep 24, 2010
  8. Brian GernhardtSep 24, 2010
  9. Tom G. ChristensenSep 27, 2010
  10. Pascal ObrySep 24, 2010
  11. Joshua JuranSep 24, 2010
  12. Randal L. SchwartzSep 24, 2010
  13. Ævar Arnfjörð BjarmasonSep 24, 2010
  14. Randal L. SchwartzSep 24, 2010
  15. perl: bump the required Perl version to 5.8 from 5.6.[21]Ævar Arnfjörð Bjarmason, Sep 24, 2010
  16. Tor ArntsenSep 26, 2010
  17. Tom G. ChristensenSep 27, 2010
  18. perl: use "use warnings" instead of -wÆvar Arnfjörð Bjarmason, Sep 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.