"Mr. Shawn H. Corey" schreef: > Dr.Ruud: >> One exception: the pattern / / does not work like the pattern ' '. > > But it should, that's my point.
Not for / / vs. ' ', because that is a special case. It is far too late to change the special case to undef or whatever. I like your example that shows the problem: split '+', 'this+is+a+test' Another one: split '.', 'example.com' It's a nice trick though how a /PATTERN/ parameter doesn't get evaluated to its match-result on $_. Compare: split / / ; print / / ; Maybe the /PATTERN/ format should just be forbidden, or become auto-qr-ed. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>