http://www.perlmonks.org?node_id=145337


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