Hi
I am using LWP to send an HTTP Get and I receive the http response in a variable which I named resp.
I would like to process the string resp->content token by token and modify the output.
I see that HTML::TokeParser allows for this kind of processing but I
have to read the input from a file. However in my case I have the entire hmtl response in a string.
What library should I use for this purpose.
Philip
I wrote (for practice with OO) a WWW::Mechanize object for parsing TinyURL's website for the results of a form input, MOSTLY by using Data::Dumper on the WWW::Mechanize object to see what it contained after each step I worked thru. This led me to HTTP::Response, and HTML::TokeParser readily enough, and fiddling with those got me what I wanted.
It's VERY simple, and I'd posted it at
http://www.webdragon.net/miscel/tinyurl.htm
to share with a friend at the time I finished it. Feel free to cadge, if you find it useful as an example reference.
-- Scott R. Godin Laughing Dragon Services www.webdragon.net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
