in reply to Re: The complicated problem
in thread The complicated problem
What's really sad about that site is that some of the translations are wrong. He treats PHP arrays like normal arrays--but they aren't: every array in PHP is an associative array. Then I saw this gem:
The Perl will give you the counts, the PHP returns the actual values...Perl: $a = keys(%h); $b = values(%h); PHP: $a = array_keys($h); $b = array_values($h);
And that's just the beginning of what this guy says you should do... I'm pretty sure that he doesn't know Perl, but at least it gave me something laugh about :)
In Section
Seekers of Perl Wisdom