NAME
bommer.pl - Check, Add and Remove BOMs
SYNOPSIS
bommer.pl [options]
Options:
-action $string
-bom_name $string
-help
-input_file $file_name
-output_file $file_name
All switches can be reduced to a single letter.
Exit value: 0.
OPTIONS
- -action $string
-
Specify the action wanted:
- o add
-
Add the BOM named with the bom_name option to input_file. Write the result to output_file.
- o remove
-
Remove the BOM from the input_file. Write the result to output_file.
- o test
-
Report the BOM status of input_file.
Default: ''.
This option is mandatory.
- -bom_name => $string
-
Specify which BOM to add to
input_file
.This option is mandatory if the
action
isadd
.Values (always upper-case):
- -help
-
Print help and exit.
- -input_file $file_name
-
Specify the input file.
Default: ''.
This option is mandatory.
- -output_file $file_name
-
Specify the output file.
And yes, it can be the same as the input file, but does not default to the input file. That would be dangerous.
Default: ''.