Abigail <abigail <at> abigail.be> writes: >> $ perl -MO=Deparse -wce 'my %h = ("-aa" => 1)' >I don't know what your point with this example is. Sorry - stupidity on my part. Of course it is already quoted. >>It's a bit odd for the quoting behaviour to differ like this - or at least, I >>would expect that if => has the effect of quoting its LHS, then it should also >>bind to it a bit more tightly. > >Sorry, no idea what you mean here. I might expect 12 -aa => 1 to be equivalent to 12 - (aa => 1) So that if => is quoting just the 'aa' part, and not '-aa', then it should also bind to just the 'aa' part. On the other hand, if - binds more tightly than =>, then => should not have any special quoting effect because its LHS is not a plain string but the seeming expression (12 - aa). -- Ed Avis <eda@waniasset.com>Thread Previous | Thread Next