Properly handle BOMs at the beginning of the file
authorVincent Pit <perl@profvince.com>
Mon, 30 Jul 2012 13:53:49 +0000 (15:53 +0200)
committerVincent Pit <perl@profvince.com>
Mon, 30 Jul 2012 13:53:49 +0000 (15:53 +0200)
commitf77c3f08b49a3d3763892adbaa9881e9fbe12754
tree2f4ac2419455b82933278bfcea5aa2444bba81e1
parent02f819d95af6eb2d5937ecbacdea638395850eaa
Properly handle BOMs at the beginning of the file

This applies to new_from_file and new_from_module, but not new_from_handle.

This fixes RT #78434.
lib/Module/Metadata.pm
t/encoding.t [new file with mode: 0644]
t/lib/BOMTest/UTF16BE.pm [new file with mode: 0644]
t/lib/BOMTest/UTF16LE.pm [new file with mode: 0644]
t/lib/BOMTest/UTF8.pm [new file with mode: 0644]