bommer.pl - Check, Add and Remove BOMs
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.
Specify the action wanted:
Add the BOM named with the bom_name option to input_file. Write the result to output_file.
Remove the BOM from the input_file. Write the result to output_file.
Report the BOM status of input_file.
Default: ''.
This option is mandatory.
Specify which BOM to add to input_file.
input_file
This option is mandatory if the action is add.
action
add
Values (always upper-case):
Print help and exit.
Specify the input file.
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.
To install File::BOM::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::BOM::Utils
CPAN shell
perl -MCPAN -e shell install File::BOM::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.