in reply to process array with while loop
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"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: process array with while loop
by reason2006 (Novice) on Nov 09, 2006 at 17:23 UTC | |
by suaveant (Parson) on Nov 09, 2006 at 18:30 UTC | |
by ikegami (Patriarch) on Nov 09, 2006 at 18:46 UTC |