in reply to Re: Searching for a string in outfile
in thread Searching for a string in outfile

Thank you so much it works!
  • Comment on Re^2: Searching for a string in outfile

Replies are listed 'Best First'.
Re^3: Searching for a string in outfile
by graff (Chancellor) on May 08, 2009 at 21:50 UTC
    Great. Just for grins, how about you update your OP and put in the code tags (and include a little update note to make it clear that you changed the post).

    As for this error that you apparently reported (posting as Anonymous Monk):

    GETing http://"server link:" Unauthorized at script.pl line 11
    Are you sure that the userid/password in your script are exactly the ones you are supposed to use? (Are you sure the url string is correct?) Do those exact strings work when you paste them into an interactive (manual) connection?

    Check the WWW::Mechanize docs about setting the "user agent" that is reported in the request that you send -- the server might be using that item to limit misuse of their service. (I'm just guessing -- I don't know much about this part of the process.)

Re^3: Searching for a string in outfile
by Anonymous Monk on May 08, 2009 at 18:14 UTC
    Hi Again, I am trying to use the same script on my prod server link with userid/password for it and I am receiving the following error: Error GETing http://"server link:" Unauthorized at script.pl line 11 ( line 11 is $mech->get($url);) Please advice. Thanks in advance,