Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37759392
en ru br
Репозитории ALT
S:0.38-alt1
5.1: 0.26-alt2
4.1: 0.23-alt1
4.0: 0.23-alt1
3.0: 0.23-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Params-Check

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - Params::Check -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Params::Check
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Params-Check
%define m_distro Params-Check
%define m_name Params::Check
%define m_author_id unknown
%define _enable_test 1

Name: perl-Params-Check
Version: 0.23
Release: alt1

Summary: Params-Check - Templated based param validation

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/K/KA/KANE/%m_distro-%version.tar.gz

# Automatically added by buildreq on Tue Jul 12 2005

BuildRequires: perl-I18N-LangTags perl-Locale-Maketext-Lexicon perl-Locale-Maketext-Simple perl-devel

%description
Params::Check is a generic input parsing/checking mechanism.

It allows you to validate input via a template. The only requirement
is that the arguments must be named.

Params::Check can do the following things for you:

=over 4

=item *

Convert all keys to lowercase

=item *

Check if all required arguments have been provided

=item *

Set arguments that have not been provided to the default

=item *

Weed out arguments that are not supported and warn about them to the
user

=item *

Validate the arguments given by the user based on strings, regexes,
lists or even subroutines

=item *

Enforce type integrity if required

=back

Most of Params::Check's power comes from its template, which we'll
discuss below:

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin