This is an idiom that can be a little confusing at first, but grows on you. You can see it described in http://perldoc.com/perl5.8.4/pod/perldata.html#List-value-constructors.my $n = () = $obj->link('next');
In reply to Re^2: Confused Contexts and wantarray
by ysth
in thread Confused Contexts and wantarray
by Dr. Mu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |