aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-10-24 21:51:30 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-10-24 21:51:30 -0400
commitf713df745cc4bc9848c9b68add69d4ef4cdf41e7 (patch)
tree1b35cf2c5f08f215c287eea79ec9d9e9c24212b6
parent11d13d2734085e927efda4d5ae7f9932463e548b (diff)
downloadGradeBook-f713df745cc4bc9848c9b68add69d4ef4cdf41e7.tar.gz
GradeBook-f713df745cc4bc9848c9b68add69d4ef4cdf41e7.zip
modified banner parsing yet again
-rwxr-xr-xbanner2csv.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/banner2csv.pl b/banner2csv.pl
index c09135f..ec8f093 100755
--- a/banner2csv.pl
+++ b/banner2csv.pl
@@ -138,7 +138,7 @@ sub spantag_end_handler
# and really get the proper one
foreach $row ($te->rows) {
#student name
- $aparser->parse(@$row[2]);
+ $aparser->parse(@$row[1]);
$name=$parsed_text;
($lname, $fname)=split(',', $name);
@@ -146,11 +146,11 @@ foreach $row ($te->rows) {
#student id
#print @$row[3];
- $spanparser->parse(@$row[3]);
+ $spanparser->parse(@$row[2]);
$sid=$parsed_text;
#student email
- $aparser->parse(@$row[10]);
+ $aparser->parse(@$row[8]);
$email = $href;
$email =~ s/mailto://;