in reply to Return Value from sub
my ($return_value) = the_function
not
my $return_value = the_function