in reply to Determining directory where script was called from

Hello nysus,

According to the documentation of File::Spec it is compatible with all OS and it will load automatically the relevant module based on the OS.

If you want to have compatibility with all OS I think this module is a good candidate :).

Hope this helps, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!