in reply to Leading Zeros w/ increment
$Max = $ARGV[3]; #no $Pad needed. And I added $Max until ( $Start > $Max ) { print "$Pre$Start$Post\n"; getstore ( $Url, "$Start$Post" ); $Start = substr(++($Start="z$Start"),1); } # or see it work with this one-liner... perl -e '$a="0035";until($a>50){print$a=substr(++($a="z$a"),1),$/}'
--
$you = new YOU;
honk() if $you->love(perl)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (GOLF)Re: Leading Zeros w/ increment
by idnopheq (Chaplain) on Apr 05, 2001 at 22:50 UTC | |
by extremely (Priest) on Apr 05, 2001 at 23:12 UTC | |
by idnopheq (Chaplain) on Apr 06, 2001 at 21:57 UTC |