in reply to Split array and join with results
Does this help?@phones=qw(iph1 iph2 iph3); @colors=qw(blue green red); foreach $phn (@phones) { foreach $colr (@colors) { print "\n$phn $colr"; } print "\n==="; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Split array and join with results
by perlnoobster (Sexton) on Aug 22, 2012 at 15:07 UTC | |
by perlnoobster (Sexton) on Aug 22, 2012 at 15:15 UTC | |
by cheekuperl (Monk) on Aug 22, 2012 at 16:00 UTC |