Thomas A. Boyer skribis 2004-04-15 16:22 (-0600):
> But I really hate the idea of removing `...` and leaving qx/.../. That 
> would leave qx// in the unenviable position of being the only 
> "quote-like operator" that doesn't have a corresponding quote-like 
> syntax.

s, rx, tr

> After all, the only real point of having qx[], qx(), qx{}, qx//, et.
> al. is so you can get the effect of `...` without having to quote your
> backticks.

I see it the other way around: '' is a way of getting q// without the q,
"" is a way of getting qq// without the qq, etcetera.

> However, I really do like the idea of having a special syntax for 
> %hash{'keyval'}. As I've said, I don't like ` for the purpose. But OTOH, 
> I don't have any better suggestion for a syntax. Except to point out 
> that if you're frequently accessing a hash via constant strings, you're 
> probably using it like a record. And in Perl 6, that's better spelt as 
> $obj.keyval.

Sometimes an object is overkill. I'd say: most of the time.


Juerd

Reply via email to