in reply to Assignment and printing at same time?
my $str = <<SEPERATOR; This is a string $xyz SEPERATOR print $str; [download]