title: Perl not identifying the folder
body: <p>Perl is not detecting the existing folder, folder already exists but still it is not detecting at all.</p>
  
  <p>Below given is the simple code</p>
  
  <pre><code>my $dir = '/net/prihpwnfs02';
  if (-e $dir and -d $dir) {print "GOOD :)\n";} else {print "BAD :(\n";}
  </code></pre>