in reply to scalar value of list assignment
Assignments are expressions, and expressions have return values:
my $count = () = create_and_return_a_list(); my $x = my $y = calculate_some_value(); [download]
Improve your skills with Modern Perl: the free book.