Klein, Robert (NIH/CIT) wrote:
I have tried all sorts of ways to get rid of a newline (\n) in the middle of a string using activeperl on Windows. I can delete the \n, but not without also getting rid of the character right before the newline. I don't understand why s/\n// apparently matches /.\n/. Any help would be most appreciated.
As stated, you need to show a small failing example in it's entirety.
Things that can affect this are ///s single line option to RE, binmode on FH, etc. -- ,-/- __ _ _ $Bill Luebkert ICQ=162126130 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
