Help for this page

Select Code to Download


  1. or download this
    print ( $#keys + 1 ) . "\n";
    
  2. or download this
    my $db  = tie my %hash, 'BerkeleyDB::Btree',
        -Filename => 'data.dbm';
    my @keys = keys %hash;
    print 0+@keys, "\n";