title: How can I parse a strftime formatted string in Perl?
body: <p>I am new to Perl and I wan to know whether there is an inverse function to the strftime().
  Look,</p>
  
  <pre><code>use POSIX qw(strftime);
  print strftime("%YT%mT%d TTTT%H:%M:%S", localtime) 
  </code></pre>
  
  <p>I get: 2009T08T14 TTTT00:37:02. How can I do the oposite operation? From "2009T08T14 TTTT00:37:02" string to get 2009-08-14 00:37:02, knowing the formatting string "%YT%mT%d TTTT%H:%M:%S"?</p>