Yuck..Foo
#!/usr/bin/perl use strict; my $beg = 1; my $end = 5; for my $i ($beg..$end) { print "$i\n"; }
In reply to Re: Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)
by YuckFoo
in thread Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)
by gman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |