http://www.perlmonks.org?node_id=1003687


in reply to Get record separator of a file

Tie::File::Schrödinger?

Unless you know of a way to identify the record separator prior to inspecting it (in which case, congrats), you need to look at it before you can know what is in it.

--MidLifeXis