[system] / branches / gage_dev / pg / lib / Match.pm Repository:
ViewVC logotype

Diff of /branches/gage_dev/pg/lib/Match.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6330 Revision 6331
1 1
2#Construct for matching list. 2#Construct for matching list.
3#Inherits from List.pm 3#Inherits from ChoiceList.pm
4#VS 6/16/2000 4#VS 6/16/2000
5 5
6=head1 NAME 6=head1 NAME
7 7
8Match.pm -- sub-class of List that implements a matching list. 8Match.pm -- sub-class of ChoiceList that implements a matching list.
9 9
10All items accessed by $out = $ml -> item( $in ); 10All items accessed by $out = $ml -> item( $in );
11 11
12=head1 SYNOPSIS 12=head1 SYNOPSIS
13 13
184} 184}
185 185
186 186
187package Match; 187package Match;
188 188
189@Match::ISA = qw( List ); 189@Match::ISA = qw( ChoiceList );
190 190
191# *** Subroutines which overload List.pm *** 191# *** Subroutines which overload ChoiceList.pm ***
192 192
193#sends letters for comparison instead of actual answers 193#sends letters for comparison instead of actual answers
194sub ra_correct_ans { 194sub ra_correct_ans {
195 my $self = shift; 195 my $self = shift;
196 my @ans = &List::ALPHABET( @{$self->{inverted_shuffle}} ); 196 my @ans = &ChoiceList::ALPHABET( @{$self->{inverted_shuffle}} );
197 \@ans; 197 \@ans;
198} 198}
199 199
2001; 2001;

Legend:
Removed from v.6330  
changed lines
  Added in v.6331

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9