Re:Perl tutorials suck (and cause serious damage)
by vetler on Wednesday October 26, 2011 @02:07PM
(#3159718)
Also, $a is a global variable within the current package, which means that if you don't have to declare it, even if strict is turned on.
[ Parent
| on HN ]
Re:Perl tutorials suck (and cause serious damage)
by greglindahl on Wednesday October 26, 2011 @06:23PM
(#3160693)
$a and $b are special due to their use in sort functions. This is a wart that predates "my".
Newer languages have warts, too, you just don't know what they are, yet.