|
Lines 367-373
usage_error('You cannot specify both --convert-from and --files-from')
Link Here
|
| 367 |
|
367 |
|
| 368 |
if (defined $output && $output ne '-') { |
368 |
if (defined $output && $output ne '-') { |
| 369 |
print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p; |
369 |
print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p; |
| 370 |
open($OUTPUT, '>:encoding(utf-8)', $output) || die "$output: $!\n"; |
370 |
open($OUTPUT, '>', $output) || die "$output: $!\n"; |
| 371 |
} else { |
371 |
} else { |
| 372 |
print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p; |
372 |
print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p; |
| 373 |
open($OUTPUT, ">&STDOUT"); |
373 |
open($OUTPUT, ">&STDOUT"); |
| 374 |
- |
|
|