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

There may be some useful modules with your purpose in mind, here:

Cpan search: Find::lib

There is likely to be something there which will be able to help you, or can be modified to spec. hth

  • Comment on Re^3: standard library to return system paths

Replies are listed 'Best First'.
Re^4: standard library to return system paths
by igoryonya (Pilgrim) on Jun 07, 2016 at 07:27 UTC
    I need a standard module, because it's like a catch 22, I order to run a program with libraries, I need to be able to tell my program to tell, where those libraries are. In order to tell, where the libraries are, I have to tell load a library, that can tell it. That's why I need a module, or a variable, that's is standard on perl distros.

      The closest you might find for libraries is Devel::CheckLib, which hopes that your C compiler has been set up correctly and tries to find the appropriate library.

        Thanx, but Devel::CheckLib is not a standard library