#!/usr/bin/perl -w use strict; use LWP::Simple; use HTML::TokeParser; my $url = 'http://www.georgiastatesports.com/SportSelect.dbml?DB_OEM_ID=12700&SPID=5671&SPSID=53628'; my $raw = get($url); my $stream = HTML::TokeParser->new(\$raw) or die "$url $!"; while(my $token = $stream->get_token() ) { my $ttype = shift @{ $token }; if ($ttype eq "S") { my($tag, $attr, $attrseq, $rawtxt) = @{ $token }; next until ($tag eq "table"); my $class = $attr->{'class'}; if ($class eq "ScheduleTable") { my $sched = $stream->get_trimmed_text("/$tag"); print "$sched\n"; } # class eq "ScheduleTable" } # $ttype eq "S" } # while #### Date Opponent Location Time (ET) Results Overall CAA Media Thu, Aug 30 South Carolina State Georgia Dome 7:30 PM Sat, Sep 08 Tennessee at Knoxville, Tenn. 4:00 PM PPV Sat, Sep 15 UTSA Georgia Dome 6:00 PM Sat, Sep 22 Richmond * Georgia Dome 3:30 PM Sat, Sep 29 William & Mary * at Williamsburg, Va. 7:00 PM CSS-TV Sat, Oct 06 New Hampshire * Georgia Dome 3:30 PM Sat, Oct 13 Rhode Island * at Kingston, R.I. 1:00 PM Sat, Oct 20 Villanova (Homecoming) * Georgia Dome 3:30 PM Sat, Oct 27 James Madison * at Harrisonburg, Va. 3:30 PM Sat, Nov 03 Old Dominion * Georgia Dome 3:30 PM Sat, Nov 10 Maine * at Orono, Maine 2:00 PM #### Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Date Opponent Location Time (ET) Results Overall CAA Media ? Thu, Aug 30 ?South Carolina State Georgia Dome ? 7:30 PM ? Sat, Sep 08 ?Tennessee at Knoxville, Tenn. ? 4:00 PM PPV ? Sat, Sep 15 ?UTSA Georgia Dome ? 6:00 PM ? Sat, Sep 22 ?Richmond * Georgia Dome ? 3:30 PM ? Sat, Sep 29 ?William & Mary * at Williamsburg, Va. ? 7:00 PM CSS-TV ? Sat, Oct 06 ?New Hampshire * Georgia Dome ? 3:30 PM ? Sat, Oct 13 ?Rhode Island * at Kingston, R.I. ? 1:00 PM ? Sat, Oct 20 ?Villanova (Homecoming) * Georgia Dome ? 3:30 PM ? Sat, Oct 27 ?James Madison * at Harrisonburg, Va. ? 3:30 PM ? Sat, Nov 03 ?Old Dominion * Georgia Dome ? 3:30 PM ? Sat, Nov 10 ?Maine * at Orono, Maine ? 2:00 PM Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18. Use of uninitialized value $class in string eq at ./gsu2.pl line 18.