Changeset 31742
- Timestamp:
- 2017-06-19T17:14:28+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/PowerPointPlugin.pm
r31492 r31742 406 406 = &File::Basename::fileparse($input_filename, "\\.[^\\.]+\$"); 407 407 408 my $plugin_name = $self->{'plugin_type'}; 409 408 410 # find all the files in the directory 409 411 if (!opendir (DIR, $dirname)) { 410 print $outhandle " PowerPointPlugin: Couldn't read directory $dirname\n";412 print $outhandle "$plugin_name: Couldn't read directory $dirname\n"; 411 413 return $input_filename; 412 414 } … … 420 422 # encoding specification???? 421 423 if (!open (ITEMFILE, ">$itemfile_name")) { 422 print $outhandle " PowerPOintPlugin: Couldn't open $itemfile_name for writing\n";423 } 424 print ITEMFILE "<GeneratedBy> PowerPointPlugin\n";424 print $outhandle "$plugin_name: Couldn't open $itemfile_name for writing\n"; 425 } 426 print ITEMFILE "<GeneratedBy>$plugin_name\n"; 425 427 # print the first page 426 428 my @sorted_dir = sort alphanum_sort @dir;
Note:
See TracChangeset
for help on using the changeset viewer.