On Sun, Nov 28, 2004 at 12:24:08PM -0500, John Macdonald wrote:
> On Sat, Nov 27, 2004 at 08:21:06PM +0100, Juerd wrote:
> > James Mastros skribis 2004-11-27 11:36 (+0100):
> > > Much more clear, saves ` for other things
> > 
> > I like the idea. But as a earlier thread showed, people find backticks
> > ugly. Strangely enough, only when used for something other than
> > readpipe.
> > 
> > The idea of being able to write
> > 
> >     %hash{'foo'}{'bar'}{$foo}[0]{$bar}
> > 
> > as
> > 
> >     %hash`foo`bar`$foo`0`$bar
> > 
> > still works very well for me. At least on all keyboards that I own, it
> > is easier to type. And in all fonts that I use for terminals (that'd be
> > only misc-fixed and 80x24 text terminals), it improves legibility too.
> 
> Doesn't that cause ambiguity between:
> 
>      %hash{'foo'}{'bar'}{$foo}[0]{$bar}
> and
>      %hash{'foo'}{'bar'}{$foo}{0}{$bar}
>                               ^ ^     hash instead of subscript

Hmm, I guess it is usually not ambiguous, only when it is
causing auto-vivification of the hash-or-array with `0` is
there an ambiguity between whether that means [0] and {'0'}.

-- 

Reply via email to