This script is supposed to import the url's html into a var so I can use tokeparser to get all the options from it. Only problem is that the rendered html source I get from a browser (when I'm debugging, checking out the site) isn't the same as what I get from my perl script.
What my script seems to be getting (if you see in the html file it outputs) is simple script tags that load the ASPX modules.
my $mech = WWW::Mechanize->new();
my $stream = HTML::TokeParser->new(\$html);
$url = "https://catalog.amherst.edu/amherst/frmCourseSearch.aspx?FormT
$html = $mech->content();
open HTML ,'>>html.html';
print HTML $html;