in reply to Getting combinations from a number's digits
Most programmers would differentiate between single variables and arrays. If what you want is to store those values in an array then you could do it like this:
my @array = (123,132,213,213,312,312);
However that seems a pretty trivial thing to want to do. I suspect this is an XY Problem. How about asking the real question that is bothering you rather than a question pertaining to what you think might be the solution. Showing some code that you have tried would help a lot too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting combinations from a number's digits
by PerceptiveJohn (Acolyte) on Jul 10, 2006 at 00:35 UTC | |
by GrandFather (Saint) on Jul 10, 2006 at 01:13 UTC | |
by Eimi Metamorphoumai (Deacon) on Jul 10, 2006 at 16:05 UTC |