Following: print 'foo'=~/(.*)/ && $1, 'bar'=~/(.*)/ && $1, "\n"; print 'foo'=~/(.*)/ && "$1", 'bar'=~/(.*)/ && "$1", "\n"; results in: barbar foobar which was unexpected to me. While there may be found a way to explain such behaviour, it may result in errors that are quite hard to find. Is this a bug or not? Is there a way to fix this? Tried 5.6.0 and 5.005_02 on Win32 and Unix systems. Best wishes, <!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia"> &Vadim;Thread Previous | Thread Next