in reply to Matching a hex value in a string...

A 0x0a is just a line feed, and Unix' idea of what a line break is.

Splitting on m/\x0A/ works fine for me.