Keep It Simple, Stupid | |
PerlMonks |
Re^3: Creating combinations using arraysby LanX (Saint) |
on Mar 05, 2013 at 23:07 UTC ( [id://1021913]=note: print w/replies, xml ) | Need Help?? |
> Well, the problem is that i don't know which properties that are available at the time, so instead of @colors, @sizes, @shapes, I need something more dynamic. So use a recursive function!
Cheers Rolf
UPDATEif you need the result in a %hash, just alter the routine to process key-value pairs
In Section
Seekers of Perl Wisdom
|
|