in reply to Get record separator of a file

I think you simply have to accept that it is not possible to ascertain a definite "record separator".

There is always the possibility that there is really only one 'column' in the file, and that "the" file separator does not occur in the file at all.

Replies are listed 'Best First'.
Re^2: Get record separator of a file
by karlgoethebier (Abbot) on Nov 14, 2012 at 10:38 UTC

    But see my post above. And if the file has only one line it doesn't matter. My tied array then will only have one slot - i hope ;-)

    Thank you and regards, Karl

    «The Crux of the Biscuit is the Apostrophe»