- or download this
$ perl -e 'use strict; print "ok"'
Can't locate strict.pm: Permission denied at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
- or download this
$ ls -l /usr/share/perl5/strict.pm
-rwxr-xr-x. 1 root root 3933 Jan 7 09:48 /usr/share/perl5/strict.pm
- or download this
$ perl -e 'print join "\n", @INC'
/root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5
...
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
- or download this
$ cat /usr/share/perl5/strict.pm
package strict;
$strict::VERSION = "1.07";
...............
- or download this
# locate strict.pm
/usr/share/perl5/strict.pm
#
- or download this
$ perl -V
Can't locate Config.pm: Permission denied.