perl-getopt-long
Module to handle parsing command line options
The Getopt::Long
module implements an extended getopt function called GetOptions()
. It parses the command line from ARGV
, recognizing and removing specified options and their possible values.
This function adheres to the POSIX syntax for command line options, with GNU extensions. In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default.
- Versions: 2.51
- Website: https://metacpan.org/release/Getopt-Long
- Licenses: GPL 1+ · GPL 2+
- Package source: gnu/packages/perl.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of perl-getopt-long
as follows:
guix install perl-getopt-long
Or install a particular version:
guix install perl-getopt-long@2.51
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.
Badge code
You can use the following badge to inform users of perl-getopt-long about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/perl-getopt-long'><img src='https://packages.guix.gnu.org/packages/perl-getopt-long/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/perl-getopt-long)
Example Org:
[[https://packages.guix.gnu.org/packages/perl-getopt-long][https://packages.guix.gnu.org/packages/perl-getopt-long/badges/latest-version.svg]]