Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Problem with files read to array split on empty lines

by jhoop (Acolyte)
on Aug 03, 2012 at 19:12 UTC ( #985323=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problem with files read to array split on empty lines
in thread Problem with files read to array split on empty lines

Tobyink, thank you. The files were downloaded through the server's cPanel web UI. After your initial reply i made a attempt at such a regex but my eyes were starting to glass over. I will try your suggestion and report back, although currently the server appears to be down :/ I would have thought that changing $/ to the empty string would have caught all instances of an empty line (as has been suggested in other nodes) but clearly I'm missing something.

  • Comment on Re^4: Problem with files read to array split on empty lines

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985323]
help
Chatterbox?
[GotToBTru]: ah yes that infamous poison di-hydrogen oxide
[Corion]: :-D
[Corion]: Di-hydrogen monoxide is even worse!
choroba needs some CH3CH2OH

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













    Results (104 votes). Check out past polls.