Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neilb/module-which
Release history of Module-Which
https://github.com/neilb/module-which
Last synced: about 2 months ago
JSON representation
Release history of Module-Which
- Host: GitHub
- URL: https://github.com/neilb/module-which
- Owner: neilb
- Created: 2014-06-24T06:58:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-10T09:09:06.000Z (about 9 years ago)
- Last Synced: 2024-10-11T21:08:43.676Z (2 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/dist/Module-Which/
- Size: 140 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Module-Which version 0.0206
==========================='Module::Which' is the basis of the script 'which_pm' intented
to show which version of a Perl module is installed (if it is there at all).Modules are searched by name (like 'YAML') or by subcategories
('DBD::' means all modules under the DBD subdirectories of
your Perl installation, matching both 'DBD::Oracle' and 'DBD::ODBC::Changes').This module is very simple and most won't need it.
But it has been instructive for the author to see how many broken modules
one can find under your Perl installation (some which don't accept
even a 'require' statement), modules with no version number and
documentation files (named '.pm') which do not return a true value.To find out modules under subcategories, L by Christian
Renz was used.Well, all that said, this module is no more than automating:
perl -MInteresting::Module -e 'print $Interesting::Module::VERSION'
or better the one-liner
perl -e '$pm = shift; eval "require $pm"; print ${"${pm}::VERSION"}' DBI
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make installDEPENDENCIES
This module requires these other modules and libraries:
GetOpt::Long
Pod::Usage
Test::More
File::Spec::Unix
File::Glob
File::Find
ExtUtils::MakeMakerand recommends
Test::Pod
TO DO
* needs a more comprehensive test suite.
* implement more options on which() behavior
return => 'ARRAY' | 'HASH' | 'HASH(FIRST)' | 'HASH(MULT)' | 'HASH(LIST)'
verbose => 0 | 1include => @INC
method => 'REQUIRE' | 'EXTRACT'
info => @fields* finish documentation of Data::Hash::Transform
* stuff Data::Hash::Transform into its own distribution* fix bug in --help option
* introduce more options to control C behavior: C<--include>,
C<--method>, etc.* always update "META.yml" before releasing (this is not
being done automatically because MakeMaker overwrite
keys like 'license' and 'recommends')* which_pm should produce nice output for narrow terminal window sizes.
* which_pm should be able to report the version of perl (and other Perl scripts)
* a more complete implementation of --version for which_pm
(copyright and license included)* support the pattern '' as a shortcut to show all installed modules
in include directories
* finish documentation of Module::Which::ListCOPYRIGHT AND LICENCE
Copyright (C) 2005-2007 by Adriano R. Ferreira
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.