Help for this page

Select Code to Download


  1. or download this
    my %hash = ('one' => 1,
            'two' => {'one' => 1,
    ...
                        'two' => 2,
                        'three' => 3}},
            'three' => 1);
    
  2. or download this
    if ((keys %{$hash{'one'}})) {
        print "Yes\n";
    ...
    else {
        print "No\n";
    }