good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Help with PHP-to-Perl CPAN bundleby erikharrison (Deacon) |
on Sep 30, 2004 at 15:05 UTC ( [id://395371]=note: print w/replies, xml ) | Need Help?? |
$key, $value are copies of the values in the hash. The => operator can be used in PHP to create aliases to the elements, so changing $value is the same as changing $hash{$key} (to use Perlish syntax). So, in PHP:
Cheers, Erik Light a man a fire, he's warm for a day. Catch a man on fire, and he's warm for the rest of his life. - Terry Pratchet
In Section
Seekers of Perl Wisdom
|
|