my ($return_value) = the_function
not
my $return_value = the_function
In reply to Re: Return Value from sub by daxim in thread Return Value from sub by Dr Manhattan