Help for this page

Select Code to Download


  1. or download this
    sub assign_to_hash : lvalue
    {
         exists($hash{$_[0]})? $hash{$_[0]} : undef;
    }
    
  2. or download this
    sub assign_to_hash : lvalue
    {
         exists($hash{$_[0]})? $hash{$_[0]} : $hash{$_[0]} = undef;
    }