- or download this
use strict;
my $key;
...
foreach $key ( keys(%{$closurehash}) ) {
print "$closurehash->{$key}->{'name'}\n";
}
- or download this
create hashref
fake35
add to hashref
Can't use string ("test") as a HASH ref while "strict refs" in use at
+test.pl line 12.
- or download this
$closurehash->{ "test" } = { name => "test"}; # hash ref