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 reply to Re: my within brackets
by talexb
in thread my within brackets
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |