it is giving error asuse File::BOM; open(IN,"< d:\\input.txt"); ($encoding, $spillage) = get_encoding_from_filehandle(HANDLE); close IN;
but open (IN, '<:via(file::BOM)',"d:\\input.txt") is working fine."Undefined subroutine &main::get_encoding_from_filehandle called"
In reply to help needed in File::Bom by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |