in reply to Re^2: perl module not getting listed for non root user
in thread perl module not getting listed for non root user
The other way is to specify the path in each user's .bashrc or .login which is called when you login like this (you can also make an entry in /etc/bash.bashrc or /etc/login.defs or equivalent files so that new users you add automatically get it into their login rc files).#!/usr/bin/perl use lib "/usr/opt/<path-to-perlmodule-folder>";
export PERL5LIB=/usr/opt/<path-to-perl5-module-folder>
|
|---|