I would like to extend some warm thank-you's for answering my question. I know the word "dumb" was used in one of the comments, but I'd like to personally change that to "genius". I would never of come up with any of those solutions, as my perl skills aren't that superb!
To answer your question, I'm not doing this for homework. It's been a long time since I saw a proffessor :-) I was just doing this personally for myself. What I was orginally *trying* to do was add 7 numbers together but only using one number once in each question string, so let's say for example 8 wouldn't show up twice in a string of 8+8+1 The code would just find all the possible combinations of questions. Ahhh... anyhow, I'm trying to study your codes and trying to figure out how everything is working, and how I can change 3 to 7 numbers to add together and omit the same numbers appearing more than once. It's all very interesting and I should say difficult :-)
It's hard to express my gratitude via text, but thank-you once again, there are truly many wise ones here at PerlMonks.com
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.