Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> perl >> libmousex-getopt-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libmousex-getopt-perl  ]

软件包: libmousex-getopt-perl (0.38-2)

Mouse role for processing command line options

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

MouseX::Getopt 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.

You can use the trait MouseX::Getopt::Meta::Attribute::Trait or the attribute metaclass MouseX::Getopt::Meta::Attribute to get non-default commandline option names and aliases.

You can use the trait MouseX::Getopt::Meta::Attribute::Trait::NoGetopt or the attribute metaclass MouseX::Getopt::Meta::Attribute::NoGetopt to have MouseX::Getopt ignore your attribute in the commandline options.

其他与 libmousex-getopt-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libmousex-getopt-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 36.3 kB83 kB [文件列表]