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


in reply to print and say

1) store?

 push @array, $_ for myfunct($str1, $str2);

the postfix-for automatically uses $_ as loop variable.

But this looks weird, is your function returning a list?

2) say vs print

say starts a new line (inserts a "\n" at the end)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!