my $baz = 'interpolated'; print <<__EOI__; Double quoted or unquoted $baz foo\\bar __EOI__ print("\n"); print <<'__EOI__'; Single quoted $baz foo\\bar __EOI__
Double quoted or unquoted interpolated foo\bar Single quoted $baz foo\\bar
In reply to Re^2: here-doc question
by ikegami
in thread heredoc interpolation
by avo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |