Millsa Erlas wrote: > I have thought of an interesting idea that may allow Perl 6 to make the > $, @, and % optional on many uses of variables. This involves simply > extending the function namespace to include all kinds of structures, and > thus the function namespace does not require symbols, they are optional. > > Also, a goal I have tried to follow here is to implement this feature > without affecting the existing usage grammar and rules of the Perl 6 > language at all. This is a good goal i believe, my intention is just for > this to be an additional extension to Perl 6, not change its existing > grammar and parsing rules at all, just expand upon it. Perl 6 is a great > language and I like what has done so far. This is not an attempt to > change what has already been defined, but rather provide an additional > usage.
In that case, you should be looking into how to make it a pragmata, rather then pushing the idea on perl6-language. It shouldn't be too hard -- a matter of using the equivalent of perl5's UNIVERSAL::AUTOLOAD, and the OUTER:: scope. -=- James Mastros, theorbtwo