BSD Ports

devel/p5-MooseX-Getopt 0.78 MidnightBSD

Moose role for processing command line options

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

Description

This is a role which provides an alternate constructor for creating objects using parameters passed in from the command line.

This module attempts to DWIM as much as possible with the command line params by introspecting your class's attributes. It will use the name of your attribute as the command line option, and if there is a type constraint defined, it will configure Getopt::Long to handle the option accordingly.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-MooseX-Getopt0.78 newestno data-[email protected]-
FreeBSDdevel/p5-MooseX-Getopt0.78 newestnone known-[email protected]2026-07-04
OpenBSDdevel/p5-MooseX-Getopt0.78 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-MooseX-Getopt0.78nb1 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-MooseX-Getopt0.78 newestnone known-[email protected]-
HardenedBSDdevel/p5-MooseX-Getopt0.78 newestno data-[email protected]-
GhostBSDdevel/p5-MooseX-Getopt0.78 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-MooseX-Getopt

From mports:

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

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

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

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

As this port's Makefile names them.

Build 6

Runtime 6

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 22
  • %%SITE_PERL%%/MooseX/Getopt.pm
  • %%SITE_PERL%%/MooseX/Getopt/Basic.pm
  • %%SITE_PERL%%/MooseX/Getopt/Dashes.pm
  • %%SITE_PERL%%/MooseX/Getopt/GLD.pm
  • %%SITE_PERL%%/MooseX/Getopt/Meta/Attribute.pm
  • %%SITE_PERL%%/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
  • %%SITE_PERL%%/MooseX/Getopt/Meta/Attribute/Trait.pm
  • %%SITE_PERL%%/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
  • %%SITE_PERL%%/MooseX/Getopt/OptionTypeMap.pm
  • %%SITE_PERL%%/MooseX/Getopt/ProcessedArgv.pm
  • %%SITE_PERL%%/MooseX/Getopt/Strict.pm
  • %%PERL5_MAN3%%/MooseX::Getopt.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Basic.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Dashes.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::GLD.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Meta::Attribute.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Meta::Attribute::NoGetopt.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Meta::Attribute::Trait.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::OptionTypeMap.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::ProcessedArgv.3.gz
  • %%PERL5_MAN3%%/MooseX::Getopt::Strict.3.gz
distinfo 1
FileSizeSHA256
MooseX-Getopt-0.78.tar.gz560087ae89620f38827dbad2313a4e5f734049958f5d6212bd62abdbcb8ae936dcbc7
Master sites 2
  • CPAN/MooseX
  • CPAN