Help for this page

Select Code to Download


  1. or download this
    keys %in;  #reset the iterator to the beginning of the hash
    my $firstkey = each %in;
    print MAIL "\t", $firstkey, " = \t", $in{$firstkey}, "\n";
    
  2. or download this
    my $firstkey = (sort(keys %in))[0];