in reply to (Javascript::SpiderMonkey)Re: Passing other variables to start handler in HTML::Parser
in thread Passing other variables to start handler in HTML::Parser

I am actually attempting to write a generic web client using perl with response time measurement. Basically after I do an http get on the url (which retrieves the source (text)), I parse out all the image urls and then do a separate http get within the start handler. The problem is that I need to pass some of my own variables for error notification in case the image file is missing or the status response is other than "is_success".
  • Comment on Re: Re: Passing other variables to start handler in HTML::Parser

Replies are listed 'Best First'.
Re: Re: Re: Passing other variables to start handler in HTML::Parser
by pg (Canon) on Nov 15, 2002 at 18:49 UTC
    You don't need to pass them, they can be coded into your start handler. It's part of your logic.