On Wed, Aug 23, 2006 at 02:16:11AM +0800, Yiyi Hu wrote:
> #!/usr/bin/env pugs
> 
> my $a = q:t /END/
> test
> END;
> 
> $a.perl.say;
> 
> Above example works ok in pugs, But the problem is.
> From S02
> 
> Heredocs are no longer written with <<, but with an adverb on any
> other quote construct:
> 
>    print qq:to/END/;
>        Give $amount to the man behind curtain number $curtain.
>        END
> 
> Which is correct?

If I remember correctly, Larry and Audrey discussed this at the
Chicago hackathon and updated the Synopsis at that time.

So my guess is that the Synopsis is correct.

-kolibrie

Reply via email to