Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: splitting on win32 linefeeds aka pass the crackpipe!

by little (Curate)
on Feb 14, 2002 at 01:53 UTC ( #145337=note: print w/replies, xml ) Need Help??


in reply to splitting on win32 linefeeds aka pass the crackpipe!

Better split this way, so you can split also files saved in Unix format
# try splitting on ^M (windoze newlines) my @contentarray = split /\r?\n/, $content_to_parse;

Have a nice day
All decision is left to your taste

Replies are listed 'Best First'.
Re: Re: splitting on win32 linefeeds aka pass the crackpipe!
by mr.dunstan (Monk) on Feb 14, 2002 at 02:05 UTC
    Wow. I feel dumb. Thanks!

    -mr.dunstan

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2022-01-25 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (66 votes). Check out past polls.

    Notices?