On Fri, Oct 11, 2002 at 05:02:02PM -0700, Larry Wall wrote: > On Fri, 11 Oct 2002, Michael Lazzaro wrote: > : On Friday, October 11, 2002, at 04:11 PM, Larry Wall wrote: > : > has Nose $.snout; > : > has Ear @.ears is cut("long"); > : > has Leg @.legs; > : > has Tail $.tail is cut("short"); > : > > : > method Wag () {...} > : > }
I like "has" quite a bit. > : > : What's the rationale again for the dot in $.snout? Does it imply that > : it should be > : > : method .Wag () {...} > : > : to match? > > Yes, that's part of it, presuming you actually meant: > > method .snout () {...} Actually, I think he meant method &.Wag () { ... } "Attribute declarations have their dots, why not methods?" or something to that effect. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]