Y
Hacker News
new
|
ask
|
show
|
jobs
by
rayiner
5286 days ago
'let' is a way to make things more local! When I say: let x = 0, I'm saying "hey, I don't care what 'x' is in other scopes, in this local scope it's 10, dammit!"
1 comments
draegtun
5285 days ago
Yes explicit is best and in Perl its very clear what you want...
my $x = 10;
link