title: perl chdir not working, not changing the directory
body: <p>My complete perl script is </p>
  
  <pre><code>chdir ("/etc" or die "cannot change: $!\n");
  print  "\nCurrent Directory is $ENV{PWD} \n";
  </code></pre>
  
  <p>and I am getting output (not as expected)</p>
  
  <pre><code>bash-3.2$ perl test.pl 
  </code></pre>
  
  <p>Current Directory is <code>/home</code> </p>
  
  <p>P.S. <code>/home</code> is where I am executing the <code>test.pl</code></p>