in reply to my within brackets
You've already got some answers, but I just wanted to throw my weight behind
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.)my ($pname, $sname) = split / +/, $rname, 2;
In Section
Seekers of Perl Wisdom