Hello, it's me again, the Perl Newbie with the aim-bot =).
This time, I want the bot to get a zipcode from the message from the user,
$zip =~ s/\/accuweather //ig;
of course, then it forms this link:
http://beta1.accuweather.com/beta1/dtwx_initialize.asp?zipcode=$zip where $zip, of course, is the zipcode. Then on that page, it finds what is in between <UFDB> and </UFDB> and uses that in this url:
http://beta1.accuweather.com/beta1/dtwx_curcon.asp?ufdb=$ufdb where $ufdb is what it finds in between <UFDB> and </UFDB> in the first site. Then, it finds what is in between different tags in the second page, such as <Temperature></Temperature>, but i guess that it's the same exact thing as finding whats between <UFDB> and </UFDB>. So, my question is: "How do I find what is in the XML tags?"
Thanks.