in reply to Re^3: Hitting head against wall over Readonly compilation errors
in thread Hitting head against wall over Readonly compilation errors
use Readonly; sub testvalue { Readonly my %hash => {h =>1}; return \%hash; } my $h = testvalue(); $h->{h} = 2;
|
|---|