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


in reply to Get record separator of a file

Um ... you have to know the record separator before hand. That's not something that's intrinsic to a file.

If you're asking how to specify the record separator for Tie::File, that's in the Tie::File documentation.