http://qs321.pair.com?node_id=11137524

Bod has asked for the wisdom of the Perl Monks concerning the following question:

I've come across this bit of code within an existing legacy script - not written by me

(my $pname,my $sname)=split / +/,$rname,2;

I'm wondering if it is functionally different to writing

my ($pname, $sname) = split / +/, $rname, 2;
I've tested the two against each other and they seem to behave exactly the same. But, is there some subtle difference my quick test has not uncovered?