in reply to Module's .pm errors
in thread Module's .pm errors
The first element of an array has an index of 0, not 1. Besides that, it's likely you don't want to fetch an undefined URL 100,000 times. Perhaps this loop will work better:
for my $i (0 .. $#sites) { # code as before ... }
|
|---|