gcomnz writes:
> Hey all, more pleac conversion questions:
> 
> I can't prove with the docs that a heredoc will continue to work as
> positional params to a function call, particularly where it's not the
> first param:
> 
> die "Couldn't send mail" unless send_mail <<qq:to/EOTEXT/, $target
>     .... here doc here ...
>     EOTEXT

Here docs work just like in Perl 5 with two differences:  They are
spelled qq:to/END/, q:to/END/, etc. and the ending text can have leading
whitespace, which is stripped off of the text.

Luke

Reply via email to