in reply to Re: -foo not readonly in fun(-foo => 1} in perl v5.8.7
in thread -foo not readonly in fun(-foo => 1) in perl v5.8.7

Or to put it another way, the OP was trying to set the string 'lonely' to the value of 'xxx'.
  • Comment on Re^2: -foo not readonly in fun(-foo => 1} in perl v5.8.7