... s/\A\x{FEFF}// ... print "\x{FEFF}" ...
Again, a total UTF-8 n00b (or maybe nob) here, but isn't the UTF-8 BOM "\xEF\xBB\xBF" (239 187 191) (see this and the perltidy complaint cited in the OP)? (And \x{FEFF} works out to decimal 65279.)
Give a man a fish: <%-{-{-{-<
In reply to Re^2: perltidy and UTF-8 BOM
by AnomalousMonk
in thread perltidy and UTF-8 BOM
by morelenmir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |