Posted by Sψren Schimkat on 10/26/05 15:14
Hi guys
I would like to convert this ..
$tmparray = split(',', $csvstring);
$element5 = $tmparray[5];
.. to something like this:
$element5 = (split(',', $csvstring))[5];
.. but I just can't find the correct syntax. It is Perl style - i know, but I
just love this syntax. :-)
Does anyonw know the correct syntax?
--
Regards SΓΈren Schimkat
www.schimkat.dk
---------------------------------------
www.dyrenes-venner.dk/densorteliste.asp
[Back to original message]
|