Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: A short whishlist of Perl5 improvements leaping to Perl7

by dsheroh (Monsignor)
on Nov 25, 2020 at 12:12 UTC ( [id://11124188]=note: print w/replies, xml ) Need Help??


in reply to A short whishlist of Perl5 improvements leaping to Perl7

It MUST be unnecessary to declare all lexical variables as lexical if 'use strict' is ON by default.
Why?

You've already seen several (very good) arguments against your proposal in previous responses, so I won't reiterate them here, but what is your argument for undermining strict with automine? Is there any reason other than "some subset of (mostly older and unmaintained, I'd wager) existing Perl code won't run under strict"?

Also, I can't help noticing that even the post you linked to as an explanation of automine calls it a bad idea. ("I think that, in Perl, an automine pragma would be very confusing... Whatever the merits of defaulting variables to local scope might be, doing so in Perl would likely be too confusing.")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-25 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found