in reply to Re:Why programming is so much more than writing code
in thread Why programming is so much more than writing code
Which doesn't work because $res isn't declared until after the end of the statement! Doh!my $res = ($a->[$_] <=> $b->[$_]) and return $res;
Under use strict, this would fail, unless you happened to have another $res in scope, and then it'd be returning that, some of the time. Spooky.
|
|---|