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:
It does not print anything, while with:
or
it gives me the result.
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.
In Section
Seekers of Perl Wisdom