Today I was trying to install a old perl version(I am a novice at perl programming book uses an older version) in a self contained environment with perlbrew. Somehow in doing so I mistakenly modified something on my distros core_perl/vendor_perl and I am not sure what I did.
That being said I know the problem lies with permissions. For example if I use perldoc as my normal user I get the following message
Quote:
Can't locate Pod/Perldoc.pm: Permission denied at /usr/bin/core_perl/perldoc line 9.
BEGIN failed--compilation aborted at /usr/bin/core_perl/perldoc line 9.
|
However if I do the same as root then perldoc works.
All my usr binary directories are world readable and executable so I do not know why perldoc can not find its module. I also reinstalled all installed perl packages and that did not help. I am not sure what to do to fix this because frankly I do not know what I did wrong to cause this problem in the first place. IF anyone can lead me in the correct direction would be much appreciated.