Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re: Get record separator of a file

by erix (Priest)
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.


Comment on Re: Get record separator of a file
Re^2: Get record separator of a file
by karlgoethebier (Deacon) 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 perusing the Monastery: (6)
As of 2014-04-18 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (463 votes), past polls