in reply to Multiple variable assignments with RexExp

I've never seen it done that way. My approach would be a bit more idiomatic and (probably) easier to read, but the mechanism's a tiny bit obscure:

s/\n/<br>/g foreach ($var1, $var2);

--
:wq