> while (<FH>) { > s/^M$//; > # Process $_ > } Cute psuedocode. I don't like <CR><LF> at all, it makes me feel like I'm dealing with a typewritter. But, giving multiple values to $/ seems more painful to me that to just tr/\r//d; on any suspected M$ strings. I guess not always M$... the chess server I have to deal with likes to spit out that trash, and it's unix based... but of course this is covered by RFC 69. what frightens me is the potential here to make things a lot worse. It's bad enough I have to translate out the "carriage returns" by hand, but I don't want to have to start worrying about when I need to add them back in when I didn't want to take them out in the first place. Paris Sinclair | 4a75737420416e6f74686572 [EMAIL PROTECTED] | 205065726c204861636b6572 www.sinclairinternetwork.com
- Re: perl6storm #0050 iain truskett
- Re: perl6storm #0050 John Porter
- perl6storm #0060: formats Philip Newton
- perl6storm #0073 Philip Newton
- RE: PERL6STORM - tchrist's brainstorm list for perl6 Fisher Mark
- RE: PERL6STORM - tchrist's brainstorm list for perl6 Dan Sugalski
- async I/O (was Re: PERL6STORM - tchrist's brainsto... Uri Guttman
- Re: async I/O (was Re: PERL6STORM - tchrist's ... Dan Sugalski
- Re: async I/O (was Re: PERL6STORM - tchris... Uri Guttman
- RE: PERL6STORM - tchrist's brainstorm list for perl6 Greg Boug
- RE: PERL6STORM - tchrist's brainstorm list for per... Paris Sinclair
- RE: PERL6STORM - tchrist's brainstorm list for per... Dave Storrs
- Re: PERL6STORM - tchrist's brainstorm list for perl6 Charles Lane
- Re: PERL6STORM - tchrist's brainstorm list for perl6 Nicola Meade
- Re: PERL6STORM - tchrist's brainstorm list for perl6 Adam Krolnik