Changeset 10254 for trunk/gsdl/perllib/plugins/ArcPlug.pm
- Timestamp:
- 2005-07-19T16:27:51+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ArcPlug.pm
r10218 r10254 38 38 use gsprintf; 39 39 40 use strict; 41 no strict 'refs'; # allow filehandles to be variables and viceversa 42 40 43 BEGIN { 41 44 @ArcPlug::ISA = ('BasPlug'); 42 45 } 46 47 my $arguments = [ 48 ]; 43 49 44 50 my $options = { 'name' => "ArcPlug", … … 46 52 'abstract' => "no", 47 53 'inherits' => "yes" }; 48 54 49 55 sub gsprintf 50 56 { … … 57 63 push(@$pluginlist, $class); 58 64 59 if(defined $arguments){ print "SETSEGE\n";push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}65 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 60 66 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 61 67 … … 79 85 foreach my $subfile (@$file_list) { 80 86 my $doc_oid = $subfile->[1]; 81 $index_status = $archive_info->get_status_info($doc_oid); 87 # why do we get this when it is not used??? 88 my $index_status = $archive_info->get_status_info($doc_oid); 82 89 $archive_info->set_status_info($doc_oid,"B"); 83 90 } … … 133 140 my $doc_oid = $subfile->[1]; 134 141 135 $index_status = $archive_info->get_status_info($doc_oid);142 my $index_status = $archive_info->get_status_info($doc_oid); 136 143 137 144 my $processor_mode = $processor->get_mode();
Note:
See TracChangeset
for help on using the changeset viewer.