http://qs321.pair.com?node_id=1165132


in reply to Re^7: standard library to return system paths
in thread standard library to return system paths

Hi,

be aware there is a difference between the system library path and the perl module path.

Perl always knows where it's modules are installed.

On your shell:

perl -V

The output on linux could look like this:

@INC: /usr/lib/perl5/... /usr/lib64/perl5/...

If you can install CPAN modules, you can use them.

As I understand File::BaseDir (you refer to it in your question) is also not an core module, so someone installed it. Maybe the result of File::BaseDir on the windows machine is empty because it's not installed there.