Okay, I have CGI.pm and LWP::Simple installed.
So I pull the source for a page like this:
$content = get("
My question is in two parts, I have a site where you have to select from a list which state you want to view, when you get to the page for the state, the link shown is the same no matter what state you pick.
Question #1: How can I pick a particular state and automatically retrieve that page, in a script?
Also, when you get to the state page, there are links to items like this:
javascript:itemSel('234234234234');
Question #2: How can I go into that link and retrieve the page, in a script?
Once I have the pages I need, I can use regular expressions to do whatever I wish with the info. Thanks!
So I pull the source for a page like this:
$content = get("
My question is in two parts, I have a site where you have to select from a list which state you want to view, when you get to the page for the state, the link shown is the same no matter what state you pick.
Question #1: How can I pick a particular state and automatically retrieve that page, in a script?
Also, when you get to the state page, there are links to items like this:
javascript:itemSel('234234234234');
Question #2: How can I go into that link and retrieve the page, in a script?
Once I have the pages I need, I can use regular expressions to do whatever I wish with the info. Thanks!