I am facing a strange problem in my Perl script. When I run my Perl script from a sub folder, it takes the root folder as the reference. The `chdir` (current directory) command is giving me the ‘C:’ irrespective of where I run my Perl script from.

I think this has to do with some environment setting on Perl but I am not sure which one.

I would really appreciate if you can help me here.

 

Regards,

Shailesh

Reply via email to