[Israel.pm] Perl Advocacy

david istermann interdist at gmail.com
Mon Dec 27 06:31:26 PST 2004

What bugs me most is that in Perl there is no equivalent for PHP's str_replace:

$newstr = str_replace( array('<', '>', '&'), array('&lt;', '&gt;',
'&amp;'), $oldstr);

> Arrays are hashes 
Cool! U can use the same functions (language constructs) to treat both
"arrays" (integer indexing) and "hashes" (string indexing).


More information about the Perl mailing list