in reply to Return Value from sub

Context problem. It should be

my ($return_value) = the_function

not

my $return_value = the_function