Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^8: split function

by Marshall (Monsignor)
on Jan 27, 2012 at 04:20 UTC ( #950257=note: print w/replies, xml ) Need Help??


in reply to Re^7: split function
in thread split function

Your data file has some "hidden control characters" that mess up the line by line reading. The data lines that you present are not what the actual data is. Its just that simple.

Create this data file yourself by manually typing it in with vi or notepad or whatever plain text editor that you normally use and you will see that the code works. Don't use copy-and-paste as that would copy these "invisible" wrong characters.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (15)
As of 2016-12-06 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (114 votes). Check out past polls.