develooper Front page | perl.perl5.porters | Postings from June 2020

Re: Announcing Perl 7

Thread Previous | Thread Next
From:
shmem
Date:
June 28, 2020 12:21
Subject:
Re: Announcing Perl 7
Message ID:
alpine.DEB.1.00.2006281354020.16045@mail.mgm-net.de
Not replying to any message of this thread in particular, but addressing
the default behavior of a "Perl 7", having read nearly all messages in
this thread.

IMHO the "use v7" vs. "use v5" issue cannot be adressed with a unified
perl, neither at compile nor run time. At this time, this decision can't
be made by p5p.

Instead, I would move the decision of whether having a future perl as v5
or v7 to the compilation of perl itself. So, a -Dv7 switch for Configure
would default to implicitly enable "use v7" during some time of future
perl development, and without that having a perl built which is perl5,
but still able to run as perl7 via "use v7".

Later on this could switch to defaulting to -Dv7 and only building for
perl5 as default via -Dv5.

This would avoid confusion and let vendors decide which flavour of perl
they want to have bundled with their OS. Those who build their own perl
binary can make their own decision.

Building with -Dv5 and -Dv7 would build both perl5 and perl7 binaries
defaulting either way and install perl5 as default, which could later be
changed defaulting to perl7.

just my 2¢
0--gg-

-- 
_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About