http://www.perlmonks.org?node_id=1067500


in reply to Re^4: Readonly problems ( Scalar::Readonly::readonly )
in thread Readonly problems

$data->{foo} = "$k";
Yes, thanks, that does work. And is one of the few otherwise "useless use of quotes" that is not actually "useless" :-)