my $name = 'John'; my $html = get_html(); # sub name corrected # later... sub get_html{ my $html = <
Hi there $name