in reply to Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)
Yuck..Foo
#!/usr/bin/perl use strict; my $beg = 1; my $end = 5; for my $i ($beg..$end) { print "$i\n"; } [download]