http://qs321.pair.com?node_id=805484

Ectaris has asked for the wisdom of the Perl Monks concerning the following question:

I need to find every possible combination for putting x objects in y containers. All objects have to be used in every possibility. I have been searching the web but nothing seems to really fit.

So given 5 objects I need to come up with all combinations of these 5 objects that could fit in 3 containers. Possiblity one could be 12 34 5 while two would be 1 23 45 and so on.