I have a website that I am making and I was going to implement a perl script into it. This script goes to another page gets a .csv file and reads in the lines and parses out what I need. The problem I have just ran into is that my hosting server apparently does not allow custom CGI scripts on an MS server. I chose the MS server so I could use ASP and apparently lost other functionality when doing so. Is there another language that I can use to get the same effect as my perl script? Here is what I have been using in perl(this is not all of the script, I didnt feel it was necessary to post it all):
sub getFile{
my $mech = WWW::Mechanize->new();
$mech->get('somesite.com');
die "Error: failed to load the web page" if (!$mech->success());
$mech->follow_link( url_regex => qr/yesterday_hail/i );
die "Error: failed to load the web page" if (!$mech->success());
$mech->save_content("somefile".csv");
}
It would then do a bunch of work to the file and output that. Really what I was wanting was just this part and I dont know how to do it in other languages.