This is okay, but it can get kind of clunky to manipulate an array element by its index.my @array=qw( the that which who when if this); my $size=$#array+1; for(my $i=2;$i<$size;$i++){ $array[$i]=uc $array[$i]; }
In reply to Starting foreach at an arbitrary position by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |