in reply to Using GET in a loop

Isn't your program failing from undefined 'Open' and 'Print'? The perl builtins are all lower-case.

Anyhow, what else is failing? You explicitly place the results all in the same file by trying to open to append. You might as well open the output file before the loop and close afterwards. Also, your url looks fishy. Is that just to hide the address you're scraping? Lexical $content should get rid of previous $content just fine.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: Using GET in a loop
by Happy-the-monk (Canon) on Sep 17, 2004 at 09:24 UTC

    looks like you should be giving

    use strict; # no more loose variables among other things
    use warnings; # no more undefined functions among other things

    a try.

    Cheers, Sören

      I am using strict and warnings. Makes no difference. Cheers!