Changeset 10620
- Timestamp:
- 2005-09-22T17:03:15+12:00 (18 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/BasClas.pm
r10347 r10620 254 254 #print out the text usage of this classifier. 255 255 my $classTempClass = bless $self, $class; 256 print STDERR "<BadClassifier c=$classifier_name>\n"; 257 256 258 &gsprintf(STDERR, "\n{BasClas.bad_general_option}\n", $classifier_name); 257 259 $classTempClass->print_txt_usage(""); # Use default resource bundle -
trunk/gsdl/perllib/parse2.pm
r10328 r10620 237 237 # Process this argument and store the related 238 238 # information in %hashInputArg 239 if(processArg($hashArg{$strOneArg},$aryptUserArguList,\%hashInputArg) == 0){ return 0;} 239 if(processArg($hashArg{$strOneArg},$aryptUserArguList,\%hashInputArg) == 0){ 240 print STDERR "<BadArgumentValue a=$strOneArg>\n"; 241 return 0;} 240 242 } 241 243 … … 250 252 else 251 253 { 254 print STDERR "<BadArgument a=$strOneArg>\n"; 252 255 print STDERR " Error: occur in parse2.pm::parse()\n Extra Arguments: $strOneArg\n"; 253 256 return 0; -
trunk/gsdl/perllib/plugins/BasPlug.pm
r10579 r10620 72 72 [ { 'name' => "auto", 73 73 'desc' => "{BasPlug.input_encoding.auto}" } ]; 74 75 my $e = $encodings::encodings; 76 foreach my $enc (sort {$e->{$a}->{'name'} cmp $e->{$b}->{'name'}} keys (%$e)) 77 { 78 my $hashEncode = 79 {'name' => $enc, 80 'desc' => $e->{$enc}->{'name'}}; 81 82 push(@{$unicode_list},$hashEncode); 83 } 84 85 push(@{$auto_unicode_list},@{$unicode_list}); 74 86 75 87 my $arguments = … … 355 367 # Set Encodings to the list!! 356 368 357 my $e = $encodings::encodings;358 foreach my $enc (sort {$e->{$a}->{'name'} cmp $e->{$b}->{'name'}} keys (%$e))359 {360 my $hashEncode =361 {'name' => $enc,362 'desc' => $e->{$enc}->{'name'}};363 364 push(@{$unicode_list},$hashEncode);365 }366 367 push(@{$auto_unicode_list},@{$unicode_list});368 369 369 370 # Start the BasPlug Constructor … … 399 400 { 400 401 my $classTempClass = bless $self, $class; 402 print STDERR "<BadPlugin p=$plugin_name>\n"; 401 403 &gsprintf(STDERR, "\n{BasPlug.bad_general_option}\n", $plugin_name); 402 404 $classTempClass->print_txt_usage(""); # Use default resource bundle
Note:
See TracChangeset
for help on using the changeset viewer.