http://www.perlmonks.org?node_id=564218


in reply to Re: Check links.. if they do exist, then print link to file...but how do i check the existance of a link?(validity?)
in thread Check links.. if they do exist, then print link to file...but how do i check the existance of a link?(validity?)

$num = '0000'; for(1..1000) { print ++$num,"\n"; }
Or even
for my $num ('0000' .. '1000') { ... }