Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: A short whishlist of Perl5 improvements leaping to Perl7

by LanX (Saint)
on Nov 24, 2020 at 12:40 UTC ( [id://11124131]=note: print w/replies, xml ) Need Help??


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

If you want to mimic Pythons behavior of auto-declaration, you'd also need to introduce something like the command nonlocal to mark closed over variables.

Py3 had to introduce it, and I find it ugly.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: A short whishlist of Perl5 improvements leaping to Perl7

Replies are listed 'Best First'.
Re^2: A short whishlist of Perl5 improvements leaping to Perl7
by LanX (Saint) on Nov 25, 2020 at 14:16 UTC
    Furthermore - and I think this is the toughest part - you'd need to clearly define the role of my under automine

    I think I'm the one who coined the word automine and believe me it's far from trivial.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found