more useful options | |
PerlMonks |
Re: Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)by schwern (Scribe) |
on Oct 11, 2005 at 06:15 UTC ( [id://499040]=note: print w/replies, xml ) | Need Help?? |
Assuming the resulting @range is small (where small is, say, less than 10,000 elements) this will do fine. Error checking is left as an exercise for the reader.
In Section
Seekers of Perl Wisdom
|
|