Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Get record separator of a file

by erix (Parson)
on Nov 14, 2012 at 10:12 UTC ( #1003778=note: print w/replies, xml ) Need Help??

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 (Monsignor) 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»

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003778]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-05-25 09:44 GMT
Find Nodes?
    Voting Booth?