Help for this page
#!/usr/bin/perl -w use strict; ... my $hashInitStr = "{'MONTH' => 'January'}"; # This would come from a f +ile my $hash1 = $hashInitStr; print $hash1->{MONTH} . "\n"
January Can't use string ("{'MONTH' => 'January'}") as a HASH ref while "stric +t refs" in use at ./anonHashfromStr.pl line 9.