Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

by cavac (Curate)
on Oct 22, 2019 at 12:16 UTC ( #11107845=note: print w/replies, xml ) Need Help??


in reply to Re^3: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
in thread If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

Exactly. When/If we do a major version bump, we might as well make it easier for newcomers to the language.

In my opinion, there are very few cases where "no strict" is useful - and pretty much everyone experienced enough to play around with those would "use strict" at the beginning of their code anyway and use the "no strict" directive in a narrow scope.

And yes, i agree, making "use strict; use warnings;" the default might break some code. But frankly, if it doesn't work in strict mode, it's probably already broken beyond repair, just nobody has noticed because strict and warnings weren't turned on ;-)

Heck, we might even throw in an automatic "use English" and change the docs to show that using the english name rather than cryptic stuff like "$!" is the way of the future.

perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'
  • Comment on Re^4: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11107845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-01-25 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?