develooper Front page | perl.perl5.porters | Postings from March 2021

Re: on changing perl's behavior

Thread Previous | Thread Next
From:
Christian Walde
Date:
March 30, 2021 09:15
Subject:
Re: on changing perl's behavior
Message ID:
op.0019btsmydyjqt@xenbox.cihq
The email mentions deprecating and removing of X and opting in a lot (which has, as mentioned elsewhere, dubious value).

But one thing i didn't see acknowledged is that for the very determined even with explicit versioning there is a thermonuclear option:

	$ perl -v

	This is perl 13[...]

	$ cat test.pl
	print 1;

	$ perl test.pl
	This is Perl v13.0.0. Oldest supported version: v7.0.0. Please declare version 7 or higher in the first line with: use 7; , stopped at -e line 1.
	BEGIN failed--compilation aborted at -e line 1.

Many people will absolutely and utterly hate this, but the point is that for the sufficiently determined perl porter this is always possible at any point in the future if and when it is determined that deprecation and removals actually provide benefits.

This means that nobody needs to worry that requiring versioning also means maintaining Perl 5 forever, as that's not a thing.

-- 
With regards,
Christian Walde

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