This package browser is in early development. Mind the rough edges.

perl-getopt-long 2.51

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.

Installation

Install perl-getopt-long 2.51 as follows:

guix install perl-getopt-long@2.51

Or install the latest version:

guix install perl-getopt-long

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.