CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] how to check which perl stuff (modules) is running on my opensuse 12.3 : Edit Log



Laurent_R
Veteran / Moderator

Jun 21, 2013, 2:48 PM


Views: 924
Re: [FishMonger] how to check which perl stuff (modules) is running on my opensuse 12.3

Yes, right, this is probably better to get immediately the list of modules, but you might have to install File::Find::Rule beforehand, since this is apparently not a standard module.

A simple alternative without having to install any new module:


Code
$ perl -M5.10.1 -e 'for $dir (@INC) {say for glob "$dir/*.pm";}'


Under Windows, this would have to be changed to something like this (again untested under Windows):


Code
perl -M5.10.1 -e "for $dir (@INC) {say for glob qq($dir/*.pm);}'



(This post was edited by Laurent_R on Jun 21, 2013, 2:50 PM)


Edit Log:
Post edited by Laurent_R (Veteran) on Jun 21, 2013, 2:49 PM
Post edited by Laurent_R (Veteran) on Jun 21, 2013, 2:49 PM
Post edited by Laurent_R (Veteran) on Jun 21, 2013, 2:50 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives