Re: wget in scripts

Bud Rogers <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On Sunday 07 November 2004 23:44, Malcolm Mill wrote:
> Also, is there a simple way of constructing the numbers 001-050 for
> my URL strings?

printf will do what you want.

for ($i=1; $i<51; $i++) {
	printf("%03d", $i);
}

HTH

-- 
Bud Rogers	<[email protected]>	 KD5SZ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.