Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $key;
    ...
    foreach $key ( keys(%{$closurehash}) ) {
        print "$closurehash->{$key}->{'name'}\n";
    }
    
  2. 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.
    
  3. or download this
    $closurehash->{ "test" } = { name => "test"};  # hash ref