http://www.perlmonks.org?node_id=1199177


in reply to print and say

Ok, for #2 I found the answer, say just prints a newline by default.
So I am basically down to figuring out why I cannot store the result using:
$answer = myfunct($str1, $str2);

It does not print anything, while with:
say for myfunct($str1, $str2);

or
print for myfunct($str1, $str2);

it gives me the result.