Phoenix.pm: quoting constant hash keys survey

Scott Walters scott at illogics.org
Sat Apr 17 12:04:06 CDT 2004


No, morse code has dots and dashes, Perl 6 uses UNICODE for operators,
unsatisified with ASCII. The trendy thing to compare it to is Ada.

All I can say is there is a nitch for a language that tolerates barewords.
Bourne shell sucks too much. I'm thinking about resurrecting SNOBOL and
hacking closures and iterators and such onto it =)

It would be ironic since one of the most requsted features for Perl 6
was SNOBOL like pattern matching, which Larry denied (communities
rewrite my ass).

-scott

On  0, Anthony Nemmer <intertwingled at qwest.net> wrote:
> 
> Perl 6 i going to end up looking like Morse Code. =)
> 
> Tony
> 
> Scott Walters wrote:
> 
> >String concat has been renamed ~ from _. . is method call. Primitive
> >types "autobox" now, so you can ask an array for a length or a hash
> >for its keys:
> >
> >  %hash.keys  # method call
> >
> >So, people have adopted the dot for method calls, and JavaScript uses the
> >dot for both method calls and hash subscripts (as well as array indices),
> >but since we could be either calling a method or subscripting a primitive,
> >we have to tell perl which it is or risk confusion when we can't access
> >hash subscripts with the same name as methods.
> >
> >-scott
> >
> >On  0, eden li <eden.li at asu.edu> wrote:
> >  
> >
> >>I like it, but I don't see why perl can't just adopt the dot like Java and C.
> >>
> >>%foo.bar -> %foo{'bar'}
> >>
> >>I guess could be ambiguously parsed as a string concat operator:
> >>
> >>(%foo) . bar()
> >>
> >>But I'm wondering if %foo can exist in that context all by itself in Perl6.  Anyway, either way, I'm all for typing less.  Besides, gullimets seem to stand out more than they should, especially for every hash access in which you don't feel like typing quotes.
> >>
> >>Scott Walters wrote:
> >>    
> >>
> >>>Okey, everyone run and vote - yea or nay. Let's hear it. Even if your
> >>>reasons are unfounded, vote.
> >>>      
> >>>
> >
> >
> >  
> >
> 
> 
> -- 
> 
> SKYKING, SKYKING, DO NOT ANSWER.
> 
> 



More information about the Phoenix-pm mailing list