If you want to interpolate it without an extra variable, you can say:
my $html =<<"EOF"; <tag> @{[ $session->param('x') ]}</tag> EOF
or
my $html =<<"EOF"; <tag> ${\$session->param('x')}</tag> EOF
(The first one implies list context, the latter scalar context.)
In reply to Re: OOP: Printing in EOF block
by Eliya
in thread OOP: Printing in EOF block
by speckled
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |