title: How to compare string date time in perl?
body: <p>I have this date time format in string "11:56:41, 11/22/2011".</p>
  
  <p>Here's what I want:</p>
  
  <p>Compare two date time strings like.</p>
  
  <pre><code>$date1 = "11:56:41, 11/22/2011";
  $date2 = "11:20:41, 11/20/2011";
  if($date2 &lt; $date1) {
      do something...
  } else {
      do nothing...
  }
  </code></pre>
  
  <p>Any ideas how could i achieve this in perl?</p>