MsSchlien
asked on
How do I download webpage and parse information using Perl
I need to produce a perl program that will display information from a website. I would like to have 7 columns: Date, Time, Name, Address, DOB, Officer(s), Location
The wesbsite the html information is coming from is: http://www.iowa-city.org/police/arrests.asp?charge=94000
This how I started the Perl program. If anyone could help me out, that would be great
The wesbsite the html information is coming from is: http://www.iowa-city.org/police/arrests.asp?charge=94000
This how I started the Perl program. If anyone could help me out, that would be great
#!/usr/bin/perl -w
use strict;
use LWP::Simple;
my $stuff = get("http://www.iowa-city.org/police/arrests.asp?charge=94000");
my $columnTitle = ("Date, Time, Name, Address, DOB, Officer(s), Location\n");
print $columnTitle
try using http://search.cpan.org/~gaas/HTML-Parser-3.56/
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, I have looked over the links and they are very helpful. However, could you maybe do an example either through psuedo-code or perl as how to obtain the first name from the table on website.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, this helped a lot.