Help for this page

Select Code to Download


  1. or download this
    while (<FILE>){
      /^(.*?): \s*(.*)$/;    # Save text before colon in $1, and after 
    ...
      $fields{$1} = $2;      # Creat %fields hash
    
    }
    
  2. or download this
    while (<FILE>){
      if (/^(.*?): \s*(.*)$/) {    # Save text before colon in $1, and aft
    +er 
    ...
        $fields{$1} = $2;          # Creat %fields hash
      }
    }