title: perl script argument contains double quotas "
body: <p>I have a perl script that receives 3 arugments. </p>
  
  <p>First argument is very long and contains spaces and quotes and I actually don't know what size to expect it could be any size .  To separate my arguments I use ":" sign.</p>
  
  <p>See example:
  ./my_script.pl 2MT5 4XAW KEAR  TTRR YYMM "TEMP 2012 FEB 01":Single:123.x</p>
  
  <p>The problem is that I lose double quotes and spaces.See output :</p>
  
  <pre><code>LOG The 1st input is:2MT54XAWKEARTTRRYYMMTEMP 2012 FEB 01
  
  LOG Type is:Single
  
  LOG Version is:123.x
  </code></pre>
  
  <p>My Code :</p>
  
  <pre><code>open (FD, "&gt;file2.txt");
  
  print FD @ARGV;
  
  close FD;
  
  my $str1=`cat file2.txt`;
  
  my @argv_values = split(':',$str1);
  
  $new_str = $argv_values[0];
  
  $type = $argv_values[1];
  
  $ver = $argv_values[2];
  </code></pre>