BSD Ports

devel/p5-Getopt-Long 2.58 MidnightBSD

Perl module for extended processing of command line options

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl2+
Categories
devel, perl5

Description

Module Getopt::Long implements an extended getopt function called GetOptions(). This function implements the POSIX standard for command line options, with GNU extensions, while still capable of handling the traditional one-letter options.

In general, this means that command line options can have long names instead of single letters, and are introduced with a double dash `--'.

Optionally, Getopt::Long can support the traditional bundling of single-letter command line options.

In the other systems

The newest version among them is 2.58, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Getopt-Long2.58 newestno data-[email protected]-
FreeBSDdevel/p5-Getopt-Long2.58 newestnone known-[email protected]-
NetBSDdevel/p5-Getopt-Long2.57nb3none known-[email protected]2026-07-16
DragonFlydevel/p5-Getopt-Long2.58 newestnone known-[email protected]-
HardenedBSDdevel/p5-Getopt-Long2.58 newestno data-[email protected]-
GhostBSDdevel/p5-Getopt-Long2.58 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Getopt-Long

From mports:

cd /usr/mports/devel/p5-Getopt-Long && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Getopt-Long>0:devel/p5-Getopt-Long

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 5
  • %%SITE_PERL%%/Getopt/Long.pm
  • %%SITE_PERL%%/Getopt/Long/Parser.pm
  • %%SITE_PERL%%/newgetopt.pl
  • %%PERL5_MAN3%%/Getopt::Long.3.gz
  • %%PERL5_MAN3%%/Getopt::Long::Parser.3.gz
distinfo 1
FileSizeSHA256
Getopt-Long-2.58.tar.gz456421305ed46ea21f794304e97aa3dcd3a38519059785e9db7415daf2c218506c569
Master sites 1
  • CPAN