in reply to Re: lwp-request issue.
in thread lwp-request issue.

This looks like DOS to me, so I'd rather put each get statement on a separate line.

Replies are listed 'Best First'.
Re^3: lwp-request issue.
by Gn0m3 (Initiate) on Aug 24, 2010 at 00:46 UTC
    Bart Indeed is a batch (.cmd) but as I'm using LWP-REQUEST (GET) already tried one get per line but it doesn't work, I tried the following script:
    Echo. get -S -d http://www.yahoo.com get -S -d http://www.google.com get -S -d http://www.ciudad.com.ar get -S -d http://www.gmail.com get -S -d http://www.clarin.com get -S -d http://www.claro.com.ar get -S -d http://www.mail.com get -S -d http://www.facebook.com Echo.
    But I only get the result of the first one like this:
    GET http://www.yahoo.com --> 302 Found GET http://ar.yahoo.com/?p=us --> 200 OK
      Oh, of course (smacks forehead).

      get is a batch file, so you have to call it when used from another batch file, or else it'll just do a "goto" instead. I have no idea what Microsoft was thinking when they designed this, uh, "feature".

      call get -S -d http://www.yahoo.com call get -S -d http://www.google.com rem etc...
        as GET is perl program, forget the shell and write it in perl