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

Re^8: split function

by Marshall (Abbot)
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 the monks are mute...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-10-18 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?