title: "Can't locate DateTime.pm" error in perl
body: <p>while running script i am getting below error: </p>
  
  <pre><code>Can't locate DateTime.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/ve
  </code></pre>
  
  <p>my code is :</p>
  
  <pre><code>#!/usr/bin/perl
  
  use DBI;
  use POSIX qw(strftime);
  use DateTime;
  
  my $dbh = DBI-&gt;connect(
      "dbi:mysql:dbname=agilefant-test",
     "agilefant-test",
      "Agilefant-test",
      { RaiseError =&gt; 1 },
  ) or die $DBI::errstr;
  
  my $datestring = strftime "%Y %m %d %X", gmtime;
  my $fourteen_days_from_now = $datestring-&gt;add(days =&gt;14);
  
  my $sth = $dbh-&gt;prepare("Insert into backlogs (backlogtype, id, description, name, backlogSize, baselineLoad, endDate, readonlyToken, startDate, rank, status, parent_id)
  values ('Project' , '200', 'Sanchit Testing', 'Maintenance agilefant', NULL, NULL, ('$fourteen_days_from_now'), NULL, ('$datestring'), NULL, NULL, '34')");
  $sth-&gt;execute() or die $DBI::errstr;
  $sth-&gt;finish();
  </code></pre>
  
  <p>As from previous questions it different coz i cant upgrade my system as i dont have rights and also and i want to set End Date as after 14 days from current date. So need help for that also.</p>