Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: A short whishlist of Perl5 improvements leaping to Perl7

by tobyink (Canon)
on Nov 27, 2020 at 11:45 UTC ( [id://11124284]=note: print w/replies, xml ) Need Help??


in reply to Re^2: A short whishlist of Perl5 improvements leaping to Perl7
in thread A short whishlist of Perl5 improvements leaping to Perl7

That would make this pretty confusing to newcomers though:

{ my $x = 123; } say $x;

Replies are listed 'Best First'.
Re^4: A short whishlist of Perl5 improvements leaping to Perl7
by LanX (Saint) on Nov 27, 2020 at 16:09 UTC
    wouldn't compile, because the second $x is not declared - there was no prior assignment on file-scope - and automine implied strict

    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://11124284]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found