sub print_1 { my $text = shift; print < $text

END } #### .... .... ## instead of print_1($text); ## I want to somehow $string .= ## results of print_1($text) ....