Help for this page

Select Code to Download


  1. or download this
    my %hash;
    foreach (@ARGV)
    ...
        $_ =~ m/^(.*?)=(.*)$/;
        $hash{$1} = $2;
    }
    
  2. or download this
    my %hash = map{m/^(.*?)=(.*)$/;$1=>$2} @ARGV;