title: Error while running test file(.t file) in perl
body: <p>I am trying to write my first test case in perl with the help of Test::Simple module. 
  I have saved the file with <code>.t</code> extension now when i am trying to run this file on <code>windows system</code> then it says <code>windows can not open this file</code>. </p>
  
  <p>I had googled about this and what i found is for running this file you should make a new directory with name /t and keep this file to there. </p>
  
  <p><a href="http://perlmeme.org/tutorials/writing_test_harness.html" rel="nofollow">http://perlmeme.org/tutorials/writing_test_harness.html</a></p>
  
  <p>I have tried this also but still it is not working. </p>
  
  <p>Can any body gives me some tips. </p>
  
  <p>following is my Test cases : </p>
  
  <pre><code>  #!/usr/bin/perl -w
  
      use Test::Simple tests =&gt; 2;
      ok( 1 + 1 == 2 );
      ok( 2 + 2 == 5 );
  </code></pre>