Changeset 2980
- Timestamp:
- 2002-02-20T16:38:08+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r2816 r2980 198 198 199 199 # store the *actual* output type and return the output filename 200 # it's possible we requested conversion to html, but only to text succeeded 201 200 202 $self->{'convert_to_ext'} = $output_type; 203 if ($output_type =~ /html/i) { 204 $self->{'converted_to'} = "HTML"; 205 } elsif ($output_type =~ /te?xt/i) { 206 $self->{'converted_to'} = "TEXT"; 207 } 201 208 my $output_filename = $tmp_filename; 202 209 … … 304 311 my $tmp_tailname = File::Basename::basename($conv_filename); 305 312 306 my $convert _to = $self->{'convert_to'};313 my $converted_to = $self->{'converted_to'}; 307 314 my $ret_val; 308 315 309 if ($convert _to eq "TEXT")316 if ($converted_to eq "TEXT") 310 317 { 311 318
Note:
See TracChangeset
for help on using the changeset viewer.