in reply to my within brackets

You've already got some answers, but I just wanted to throw my weight behind

my ($pname, $sname) = split / +/, $rname, 2;
as the usual and customary way to write that code. (I would use brackets with the split statement, but that's just my C experience speaking.)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.