Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732099
en ru br
ALT Linux repos
S:1.666005-alt1
5.0: 1.302-alt2
4.1: 1.302-alt1
4.0: 1.302-alt1

Group :: Development/Perl
RPM: perl-Return-Value

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin