Help for this page

Select Code to Download


  1. or download this
     ...
     $line =~ /^([^=]+)\s*=\s*(.*)/;
    
  2. or download this
    while( <> ){
      next if /^#/;                            #check for comment
    ...
      split /\s*=\s*/, $_, 2;                  #split line to @_
      $values{ $_[0] } = $_[1];                #assign to hash
    }