Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Get record separator of a file

by erix (Vicar)
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 (Parson) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003778]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-08-28 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (390 votes). Check out past polls.