I have recently taken a stab at this myself. There is probably an easier way, but I could not make ::TreeBuilder respond well. I had to sub-class it. I'm sure that drieux has some wisdom about this and how to do it more easily. =)
Peace In Christ - Ron Goral [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > -----Original Message----- > From: drieux [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 20, 2002 10:03 AM > To: [EMAIL PROTECTED] > Subject: Re: browsing html pages > > > > On Friday, April 19, 2002, at 01:22 , Martin wrote: > > > Hi Yo! > > > > As a Perl rookie I've got a serious problem trying to find out how to > > write > > a code which should do the following stuff: connect to > specified URL using > > HTTP, send GET / PUT messages and process the output (web page) from the > > server. I went throug my Perl guidebook but found nothing according to > > this > > subject. Can anybody give me a hint (and/or suggest a good > reference guide > > for > > Perl on the internet) ? > > while Not A Good Illustration but one that I know works.... > > http://www.wetware.com/drieux/src/unix/perl/UglyCode.txt > > my Illustration of how to do this for a friend is: > > http://www.wetware.com/drieux/CS/lang/Perl/Beginners/for_thog.txt > > > The Funk is in 'parsing the webPage' - and for that I > have found that having HTML::TreeBuilder is OBLIGATORY > unless you want to do all the heavy lifting on your own. > > > > ciao > drieux > > --- > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]