Changeset 17830 for misc/runpugs/perl
- Timestamp:
- 09/14/07 12:25:35 (15 months ago)
- Files:
-
- 1 modified
-
misc/runpugs/perl/runpugs.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
misc/runpugs/perl/runpugs.pl
r16055 r17830 160 160 ($replyw=~/^\s*$/) && ($nrows=1); 161 161 if ($nrows>20) {$nrows=20;} 162 my $historylist="\n";163 for my $entry (@history) {164 my $entryw=HTML::Entities::encode_entities($entry);165 $historylist.='<option value="'.$entryw.'">'.$entryw.'</option>'."\n";166 }167 162 if($replyw!~/Leaving\ pugs\.$/) { 168 163 $replyw.=$nprompt; … … 171 166 open(HTML,"<../data/runpugs.html"); 172 167 while(<HTML>) { 173 /_HIST_/ && do {174 $html.=$historylist;175 next;176 };177 168 s/_DEV_/$devc/; 178 169 s/_REL_/$relc/;
