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

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

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

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

%define module Return-Value
%define m_distro Return-Value
%define m_name Return::Value
%define m_author_id unknown
%define _enable_test 1

Name: perl-Return-Value
Version: 1.666004
Release: alt1

Summary: Polymorphic Return Values

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

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/Return-Value-%{version}.tar.gz

# Automatically added by buildreq on Mon Dec 11 2006

BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage

%description
Polymorphic return values are really useful.  Often, we just want to know if
something worked or not.  Other times, we'd like to know what the error text
was.  Still others, we may want to know what the error code was, and what the
error properties were.  We don't want to handle objects or data structures for
every single return value, but we do want to check error conditions in our code
because that's what good programmers do.

When functions are successful they may return true, or perhaps some useful
data.  In the quest to provide consistent return values, this gets confusing
between complex, informational errors and successful return values.

This module provides these features with a simple API that should get you what
you're looking for in each contex a return value is used in.

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

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes
%perl_vendor_privlib/Return/

%changelog

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

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