title: Perl: Changing the name of files
body: <p>Everyday the following files appear in my computer (one per day, inside /my/dir/):</p>
  
  <pre><code>stackoverflow.20130712_0.log
  stackoverflow.20130713_0.log
  </code></pre>
  
  <p>I want to change their name to stackoverflow.20130712 and stackoverflow.20130713, that is, erase the "_0.log" part everyday with a cron job. </p>
  
  <p>A module or script you would recommend me?</p>
  
  <p>I'm on CentOS</p>