Dan Muey wrote: >> Thanks to everyone who helped me with this one, I had a >> deadline to meet that is now met. >> >> It was a missing ~ and me failing to use s on the end of my pattern >> >> may be of use to other users but for some reason my Linux >> server needs s///s; to match over newlines and my OSX set up >> doesn't, that didn't help ;) > >OSX! Yummy! It probably has something to do with the Unix/Mac/Winders >newline character issue. They all use different characters for that >so it can cause issues.
Well, OS X is a BSD system, so it uses UNIX newline characters. I have not experienced the behaviour Angie described: Perl 5.8.1 on my OS X (10.3.2) does not match newlines using the magical dot if the pattern modifier /s is not set. Which environment/app did you use to test on your local OS X box? - Jan -- The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>