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 Cis Mammal autoloads CMammal.pm, 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

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

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 about

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

2006-08-21 Thread Darren Duncan
On Mon, 21 Aug 2006, Mark Stosberg wrote: In S12, we see a number examples of: class Dog is Mammal http://dev.perl.org/perl6/doc/design/syn/S12.html However, it's not clear if it is necessary to preload Mammal for Dog to function properly here, or what that syntax would be.

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

2006-08-21 Thread Jonathan Scott Duff
On Mon, Aug 21, 2006 at 11:25:26PM -0500, Mark Stosberg wrote: In S12, we see a number examples of: class Dog is Mammal http://dev.perl.org/perl6/doc/design/syn/S12.html However, it's not clear if it is necessary to preload Mammal for Dog to function properly here, or what that syntax