Help for this page

Select Code to Download


  1. or download this
    tied(%hash)->WantList("always");
    tied(%hash)->WantList("never");
    tied(%hash)->WantList("forMultiples");
    
  2. or download this
    $first= $hash{key}[0];
    # or
    $first= $hash{key};
    # or
    $values= $hash{key};
    $first= ref($values) ? $values->[0] : $values;