Help for this page

Select Code to Download


  1. or download this
    my %hash = ( foo => 1, bar => 2, baz => 3 );
    print "There are " . keys( %hash ) . " keys\n";
    
    # output
    There are 3 keys