https://github.com/dolmen/perlinfo.json
A CGI/command-line script that output information about the installed Perl
https://github.com/dolmen/perlinfo.json
Last synced: 29 days ago
JSON representation
A CGI/command-line script that output information about the installed Perl
- Host: GitHub
- URL: https://github.com/dolmen/perlinfo.json
- Owner: dolmen
- License: agpl-3.0
- Created: 2013-07-10T17:17:46.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-19T18:46:37.000Z (almost 12 years ago)
- Last Synced: 2024-10-06T02:03:35.894Z (7 months ago)
- Language: Perl
- Size: 156 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
perlinfo.json
=============`perlinfo.json.pl` is a single file CGI script that you can deploy on a web
to get information about the installed perl.The information is collected using [Config::Perl::V][Config::Perl::V] and the
output is in JSON to be parsable by some future tools or JavaScript code.
The script embeds (using [App::FatPacker][App::FatPacker]) both
`Config::Perl::V` and [JSON::PP][JSON::PP] so it has no dependency besides
modules distributed with perl itself.[Config::Perl::V]: https://metacpan.org/module/Config::Perl::V
[App::FatPacker]: https://metacpan.org/module/App::FatPacker
[JSON::PP]: https://metacpan.org/module/JSON::PP### Building
Travis: [](https://travis-ci.org/dolmen/perlinfo.json)
git clone https://github.com/dolmen/perlinfo.json.git
cd perlinfo.json
cpanm App::FatPacker JSON::PP Config::Perl::V
./build.plYou can now use perlinfo.json.pl either from the command-line or as a CGI
that you can deploy on a web host (often in a `cgi-bin` directory).### Examples
[SourceForge.net](http://dolmen.users.sourceforge.net/cgi-bin/perlinfo.json)
### Copyright & license
Copyright 2013 Olivier Mengué.
`perlinfo.json.pl` (the result of `build.pl`) is distributed under the GNU
Affero General Public License version 3 or later. See [COPYING](COPYING) for
details.