in reply to
Hash creation
$newhash is a reference to a hash rather than a hash, so
print $newhash->{new_value};
[download]
will print "yellow".
Unless I state otherwise, all my code runs with
strict
and
warnings
Comment on
Re: Hash creation
Download
Code
In Section
Seekers of Perl Wisdom