in reply to enumeration, again...
my @list = glob({'A','B','C'}{'1','2','3'}{'Y','Z'}); foreach my $item (@list) { printf "bar=%s, biz=%s, foo=%s\n", split //, $item }
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: enumeration, again...
by tilly (Archbishop) on Mar 26, 2005 at 04:12 UTC | |
|
Re^2: enumeration, again...
by cazz (Pilgrim) on Mar 28, 2005 at 15:44 UTC | |
by merlyn (Sage) on Mar 28, 2005 at 18:01 UTC |