NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Huh? ==? (Score:2)
Don't you mean "eq" too?
Re: (Score:1)
The person should've used eq, but then it would've failed. @string didn't exist, so $string[0] was undef, which is ne " ". They used ==, though, so they got undef-as-num (0) == " "-as-num (0) and it was true.
Lots of nice bugs in that one line.
rjbs