|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^4: Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)by gman (Friar) |
| on Oct 09, 2005 at 22:44 UTC ( [id://498692]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The input will be constrained and only allow ".." "," and digits. And the digits will only be positive whole numbers. I have not worked out the regex for this, but yours is a starting point. And thank you for the explaination of your solution!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||