title: perl split multiple commas in line
body: <p>I am trying to split these values with colon separated</p>
  
  <p>my input: </p>
  
  <pre><code>user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0" request_id=bbfd6a1f-90c4-45g52-9e7c-db5 message="Authentication success"
  </code></pre>
  
  <p>I am using this code block</p>
  
  <pre><code>while ( my $line = &lt;IN&gt; ) {
      chomp $line;
      print "$line\n";
      my @values = split( /\s+/, $line );
  
      foreach $data (@values) {
          chomp $data;
          ( $key, $value ) = split( /=/, $data );
          $key =~ s/\s+//g;
          $key =~ s/"//g;
      }
  }
  </code></pre>
  
  <p>I am receiving this output, it take the space between the values, how to split the keys and values exactly from the above input</p>
  
  <pre><code>_1;
  Linux
  x86_64;
  rv:23.0)
  Gecko/20100101es,OU
  (X1
  </code></pre>
  
  <p>Thanks in Advance</p>