Help for this page
return wantarry ? @a : $a[0];
my @a; if(wantarray) { ... } ... do something ... return @a;
return (wantarray ? @a : $a[0]);