Changeset 32511 for main/trunk/greenstone2/perllib/plugout.pm
- Timestamp:
- 2018-10-10T21:25:13+13:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugout.pm
r27306 r32511 48 48 sub load_plugout{ 49 49 my ($plugout) = shift @_; 50 my ($info_only) = shift @_; # optional. Set to info_only if we're just printing out plugout info 50 51 my $plugout_name = shift @$plugout; 52 51 53 my $plugout_suffix = &FileUtils::filenameConcatenate('perllib', 'plugouts', $plugout_name . '.pm'); 52 54 my $plugout_found = 0; … … 148 150 my ($plugobj); 149 151 152 # if just doing plugoutinfo.pl, add in -gsdlinfo to plugout object's options 153 if($info_only) { 154 unshift (@$plugout, "-gsdlinfo"); 155 } 156 150 157 eval ("\$plugobj = new \$plugout_name([],\$plugout)"); 151 158 die "$@" if $@;
Note:
See TracChangeset
for help on using the changeset viewer.