I am wondering if there is any difference in efficiency for Perl?# set even numbered elements of the list to hi<br> map { $list [$_ * 2] = 'hi'; } (0..$#list/2);<br><br>
Edit 2001-03-16 by tye
In reply to Re: What would you do?
by Anonymous Monk
in thread What would you do?
by MeowChow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |