Re: Heredoc issue in pugs.

2006-08-22 Thread Nathan Gray
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: >

Re: Heredoc issue in pugs.

2006-08-22 Thread Larry Wall
On Tue, Aug 22, 2006 at 08:32:52PM +, Luke Palmer wrote: : On 8/22/06, Larry Wall <[EMAIL PROTECTED]> wrote: : >print qq:from/FOO/; : : On a somewhat related, somewhat unrelated note, I am a little bit : worried about the false duality of :to and :from. Well, that's kinda why theres's no

Re: Heredoc issue in pugs.

2006-08-22 Thread Luke Palmer
On 8/22/06, Larry Wall <[EMAIL PROTECTED]> wrote: print qq:from/FOO/; On a somewhat related, somewhat unrelated note, I am a little bit worried about the false duality of :to and :from. Luke

Re: Heredoc issue in pugs.

2006-08-22 Thread Larry Wall
On Tue, Aug 22, 2006 at 08:12:09PM +0100, Daniel Hulme wrote: : > : my $a = q:t /END/ : > : test : > : END; : : > :print qq:to/END/; : > :Give $amount to the man behind curtain number $curtain. : > :END : : > : Which is correct? : : > Both of them are. See the table further

Re: Heredoc issue in pugs.

2006-08-22 Thread Daniel Hulme
> : my $a = q:t /END/ > : test > : END; > :print qq:to/END/; > :Give $amount to the man behind curtain number $curtain. > :END > : Which is correct? > Both of them are. See the table further down that says: What about the semicolon? After the terminator, or after the openin

Re: Heredoc issue in pugs.

2006-08-22 Thread Larry Wall
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:

Heredoc issue in pugs.

2006-08-22 Thread Yiyi Hu
#!/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 $curta