Re: Updated to F20, now perl can't find installed modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 01, 2014 at 02:34:22PM -0400, Sean Darcy wrote:
> $ 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.

As I've pointed out on perlmonks where you cross-posted your question,

    http://www.perlmonks.org/?node_id=1080639

In perl 5.18.0 onwards, perl stops and reports an error if it can't read
the next directory in the search path, because it has no way of telling
whether the module exists or not in that directory, and therefore you'll
run into issues of perl picking up the wrong version of module. I.e.
better to nosily fail and force you to fix your @INC path and/or
permissions, than for perl to load a possibly older, buggier version of a
module and silently continue.


-- 
A walk of a thousand miles begins with a single step...
then continues for another 1,999,999 or so.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux