How do I find where Perl is looking for modules?

sparky_dy

New member
I am writing a Perl program which I intend to release as Open Source; and it includes a section which I think is worth separating out as a module.

I could put the whole lot in one file; but that would make it harder for other people to reuse the code, and isn't that the whole point of Open Source anyway?, so I want to make it a proper module. And I want to make it work anywhere, not just the original build environment.

Different distros configure Perl to look for modules in different places, so how can I find where Perl looks for modules, so I can make sure my installer script knows where to install the module to?
 
Back
Top