On 30/6/20 13:37, Paul "LeoNerd" Evans wrote: > On Tue, 30 Jun 2020 12:02:10 +0200 > Salvador Fandiño <sfandino@gmail.com> wrote: > >> It you want to avoid the "use v7;" line, then you should be able to >> tell perl explicitly in some way you want the 7 semantics. The only >> sane way I can see for that, is using different file terminations. >> I.e. p7, pl7, pm7, t7. >> >> And when perl 8 comes out, you can switch to p8, pl8, etc. > > This would be an odd suggestion. > > I believe the main motivation for people saying they don't want to > "use v7" is precisely to avoid having to update to "use v8" and so on > in the future; having to chase the latest-and-greatest by making a > single character change to their code every decade or so. But that just completely misses the point that some of your fine perl 7 code would break when run under the perl 8 interpreter unless you hint it to use the perl 7 semantics, in some way, right? I don't know if other people like to revisit their old code frequently and update it to use new features as they become available. Definitively that's not my case!Thread Previous | Thread Next