Help for this page
sub foo { wantarray() ? 10 : 1; ... # outputs Scalar context: 1, 1 List context: 10, 10