![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re: cross combinationsby chas (Priest) |
on Oct 29, 2005 at 06:31 UTC ( [id://503831]=note: print w/replies, xml ) | Need Help?? |
Just a remark: It has been discussed on PM in the past that
the glob function will do most of the work in forming a
cartesian product (I don't remember exactly where, though...)
So, for example,
and you can clearly write functions like "cross" by formatting the output to taste. (Not that this is more efficient than other solutions presented...probably isn't.) chas
In Section
Meditations
|
|