Here documents - double quotes



examples/scalars/here_document.pl
use strict;
use warnings;

my $fname = 'Foo';
my $lname = 'Bar';

my $str = <<"END_REPORT";
Daily user report
------------------

User details:
  Name: $fname $lname

END_REPORT

print $str;

Daily user report
------------------

User details:
  Name: Foo Bar