Binary package “libfile-bom-perl” in ubuntu oracular

Perl module for handling Byte Order Marks

 File::BOM provides functions for handling Unicode Byte Order Marks, which are
 sometimes found at the beginning of some files and streams. It allows programs
 to automatically determine the original byte ordering a file was written with;
 in other words, whether the program was written in little-endian or big-endian
 byte order.
 .
 This module provides a simple way to open a file, determine its byte ordering
 and return the appropriate encoding style. Byte Order Marks are usually found
 at the beginning of a file, but in the case of a stream where this is not the
 case, this module also provides a utility to scan any filehandle for it.