#!/usr/bin/perl -w·
use strict;
use HTML::TokeParser::Simple;
my $html = q(
);
my $p = HTML::TokeParser::Simple->new(\$html);
while(my $token = $p->get_token){
if($token->is_text){
my $text = $token->return_text;
next unless $text =~ /\S/;
print "[$text]\n";
}
}
####
[STAFE - 900 - BEN PROG - Food Assistance]
[STAM7 - 900 - BEN PROG - Med Asst - Lynchbrg]
[STAM8 - 900 - BEN PROG - Med Asst - Marion]
[STAM9 - 900 - BEN PROG - Med Asst - Petrsbrg]
[STAMA - 900 - BEN PROG - Medical Assistance]
[STATA - 900 - BEN PROG - Economic Assistance]
[STATR - 900 - BEN PROG - Training]
[ Development]