Re: RFC - Interpolation of method calls

2000-09-17 Thread Tom Christiansen
Method calls should interpolate in double-quoted strings, and similar locations. print "Today's weather will be $weather-temp degrees and sunny."; Would deparse to: print 'Today\'s weather will be '.$weather-temp().' degrees and sunny.'; So, the - operator is supposed to get expanded

Re: RFC - Interpolation of method calls

2000-09-17 Thread Nathan Wiger
Tom Christiansen wrote: print "Today's weather will be $weather-temp degrees and sunny."; So, the - operator is supposed to get expanded in dq strings, eh? It already does, or at least appears to to users: print "Today's weather will be $weather-{temp} degrees and sunny.";

Re: RFC - Interpolation of method calls

2000-09-17 Thread Michael G Schwern
Sorry, I wasn't subscribed to perl6-language-objects and didn't even realize there was a discussion going on. I just fixed that. I didn't mean to hijack RFC 103, I can't remember if I'd even looked at it before... but Nathan seems okay with that and it is a deceptively large issue. Version 2

Re: RFC - Interpolation of method calls

2000-09-17 Thread Michael G Schwern
On Sun, Sep 17, 2000 at 08:56:23PM -0600, Tom Christiansen wrote: While you're there, you should fix it to spell piƱatas properly. :-( We're not talking about stands of pine trees, presumably. Funny, I know how to type extended characters in MacOS, but I have no idea how to do it in X. Hell,

Re: RFC 163 (v2) Objects: Autoaccessors for object data structures

2000-09-17 Thread Matthew Cline
On Sun, 17 Sep 2000, Perl6 RFC Librarian wrote: This example shows how much easier it would have been to write the example on line 170 of perltoot.pod: package Person; use strict; ## ## the object constructor (simplistic