in reply to Error using LWP::Simple

i get the following error:
500 Unrecognized identifier s in argspec <URL:http://xxx.yy.com>

That error looks like it is being returned by your webserver, not generated by that minimal script that you posted. Additionally, a little grepping seems to indicate that the error "Unrecognized identifier %s in argspec" comes from HTML::Parser which, afaik, isn't used by LWP::Simple or its dependencies.

So, I'm guessing you were trying to retrieve the URL of a CGI script that uses HTML::Parser and that CGI script barfed on you.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: LWP
by chimni (Pilgrim) on Jul 23, 2003 at 06:18 UTC
    Hi,
    No its not the url of a cgi script .why is HTML::parser even involved.
    checked on HTML:Parser
    make test on the HTML parser bundle follows:
    
     Unrecognized identifier s in argspec at blib/lib/HTML/Parser.pm line 75.
    
    many such errors.
    It is basically what the code above says when i try to get the url?
    How is this module involved and what do i dp to make it work.
    It used to work 2 days ago.
    Then i installed html::parser and it stopped.
    
    Thanks
    chimni
    
      It's likely HTML::Parser upgraded a module on you if it followed dependencies.