名称
Getopt::迷你
版本
版本 0.01
概要
use Getopt::Mini;
say $ARGV{'flag'};
描述
是的,这是另一个 Getopt 模块,一个非常轻量级的模块。 它不是以任何方式声明的,即它不支持规范,如等人所做的。
另一方面,它可以使用语法验证您的参数。 但目前这是一个隐藏功能(您需要自己安装并通过阅读此源代码找到运行它的方法)。
名称
Getopt::Mini - 又一个 Getopt 模块
版本
版本 0.01
用法
规则:
* -<char>
does not consume barewords (ie. -f, -h, ...)
* -<str> <bareword>
* --<str> <bareword>
will eat up the next bare word (-type f,