Группа :: Разработка/Perl
Пакет: perl-Getopt-Mixed
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 1.12-alt1
Время сборки: 10 февраля 2014, 22:00 ( 528.4 недели назад )
Размер архива: 26.11 Kb
Домашняя страница: http://www.cpan.org
Лицензия: Artistic
О пакете: getopt processing with both long and short options
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 10 февраля 2014, 22:00 ( 528.4 недели назад )
Размер архива: 26.11 Kb
Домашняя страница: http://www.cpan.org
Лицензия: Artistic
О пакете: getopt processing with both long and short options
Описание:
This module is obsolete.
This package was my response to the standard modules Getopt::Std and
Getopt::Long. "Std" doesn't support long options, and "Long"
didn't support short options. I wanted both, since long options are
easier to remember and short options are faster to type.
However, some time ago Getopt::Long was changed to support short
options as well, and it has the huge advantage of being part of the
standard Perl distribution. So, Getopt::Mixed is now effectively
obsolete. I don't intend to make any more changes, but I'm leaving it
available for people who have code that already uses it. For new
modules, I recommend using Getopt::Long like this:
use Getopt::Long;
Getopt::Long::Configure(qw(bundling no_getopt_compat));
GetOptions(...option-descriptions...);
This package was intended to be the "Getopt-to-end-all-Getop's". It
combines (I hope) flexibility and simplicity. It supports both short
options (introduced by "-") and long options (introduced by "--").
Short options which do not take an argument can be grouped together.
Short options which do take an argument must be the last option in
their group, because everything following the option will be
considered to be its argument.
There are two methods for using Getopt::Mixed: the simple method and
the flexible method. Both methods use the same format for option
descriptions.
Текущий майнтейнер: Slava Dubrovskiy This package was my response to the standard modules Getopt::Std and
Getopt::Long. "Std" doesn't support long options, and "Long"
didn't support short options. I wanted both, since long options are
easier to remember and short options are faster to type.
However, some time ago Getopt::Long was changed to support short
options as well, and it has the huge advantage of being part of the
standard Perl distribution. So, Getopt::Mixed is now effectively
obsolete. I don't intend to make any more changes, but I'm leaving it
available for people who have code that already uses it. For new
modules, I recommend using Getopt::Long like this:
use Getopt::Long;
Getopt::Long::Configure(qw(bundling no_getopt_compat));
GetOptions(...option-descriptions...);
This package was intended to be the "Getopt-to-end-all-Getop's". It
combines (I hope) flexibility and simplicity. It supports both short
options (introduced by "-") and long options (introduced by "--").
Short options which do not take an argument can be grouped together.
Short options which do take an argument must be the last option in
their group, because everything following the option will be
considered to be its argument.
There are two methods for using Getopt::Mixed: the simple method and
the flexible method. Both methods use the same format for option
descriptions.
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- perl-Getopt-Mixed