On Jun 16, 2013, at 11:47 AM, Ruslan Zakirov <ruz@bestpractical.com> wrote: > I want to reject most lvalue operations: > > 1) %h{a} = ... as well as %h{qw(a b)} = ... should throw an error > > 2) I think lvalue subs should too as it's assignment $ ./perl -Ilib -le '$_ = "hello"; (sub : lvalue { %{{"hello" => 2}}{$_} }->()) = 3; print $_' 3Thread Previous | Thread Next