in reply to Split array and join with results
Formally, you want the cross product of the set of models and the set of colors. The post by cheekuperl shows how to do this. It does not know or care where the sets came from.
The only remaining question is how to parse the phone file and store the models into the array @phones. You have not given us enough detail about the file to help you with this. Does it have one phone per line? If not, how are the models seperated? Should whitespace be removed?, etc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Split array and join with results
by perlnoobster (Sexton) on Aug 22, 2012 at 21:02 UTC | |
by BillKSmith (Monsignor) on Aug 23, 2012 at 04:01 UTC | |
by perlnoobster (Sexton) on Aug 23, 2012 at 10:51 UTC | |
by BillKSmith (Monsignor) on Aug 23, 2012 at 17:42 UTC | |
by perlnoobster (Sexton) on Aug 24, 2012 at 07:53 UTC | |
|