Re: clarify: does "Dog is Mammal" load Mammal for you?

2006-08-22 Thread Trey Harris
In a message dated Mon, 21 Aug 2006, Jonathan Scott Duff writes: But, assuming for the moment that C autoloads C, does that mean that class Dog is Mammal-4.5 is valid? Yes, it must be valid. See http://dev.perl.org/perl6/doc/design/syn/S11.html#Versioning : So you can just say m

Re: clarify: does "Dog is Mammal" load Mammal for you?

2006-08-22 Thread Trey Harris
Oops, Luke Palmer alerted me to the fact that I screwed up in the below. In a message dated Tue, 22 Aug 2006, Trey Harris writes: My question is, if a program is running where two versions of Dog are loaded, say 1.3.4 and 2.1, and a file contains: use Dog-1.3.4-cpan:JRANDOM; class Poodle is

Re: clarify: does "Dog is Mammal" load Mammal for you?

2006-08-22 Thread Andrew Suffield
On Tue, Aug 22, 2006 at 12:37:33AM -0700, Trey Harris wrote: > I misstated my worry here. In this case, by the same rule that "my Dog > $foo" gets the right version because the longname is aliased to the > shortname in the lexical scope of the use, it would work. > > What I'm actually concerned

Integrating the Pugs test suite into the Synopses

2006-08-22 Thread Agent Zhang
Hi, there~ When you see the title, you may wonder what that means. Here is the answer: http://feather.perl6.nl/~agentzh/syn/S04.html Search for links named like "Show the snippet from ..." and click on them to find out what will happen. :) Well, in short, we have divided the .t files in the P

Re: Dumb doc question...

2006-08-22 Thread Agent Zhang
On 8/21/06, Agent Zhang <[EMAIL PROTECTED]> wrote: http://svn.berlios.de/svnroot/repos/unisimu/Perl/Syn/ This position is no longer maintained. Please see http://feather.perl6.nl/~agentzh/syn/ instead. The .html pages there are updated every *one* hour by the cron program on feather. S

[svn:perl6-synopsis] r11316 - doc/trunk/design/syn

2006-08-22 Thread pmichaud
Author: pmichaud Date: Tue Aug 22 11:00:04 2006 New Revision: 11316 Modified: doc/trunk/design/syn/S05.pod Log: Change "If the first character after the angle is whitespace" to "If the first character after the identifier is whitespace" for constructs. Modified: doc/trunk/design/syn/S05.pod

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

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:

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 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 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: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 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: >