Also qw does not need (or want) commas. It should be more like:
use strict; use warnings; my @array = qw( blue red orange brown ); foreach (@array) { print "$_\n"; }
In reply to Re: process array with while loop
by grep
in thread process array with while loop
by reason2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |