File: control

package info (click to toggle)
libreturn-value-perl 1.302-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 112 kB
  • ctags: 14
  • sloc: perl: 87; makefile: 43
file content (30 lines) | stat: -rw-r--r-- 1,583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Source: libreturn-value-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 6)
Build-Depends-Indep: perl (>= 5.8.0-7), libtest-pod-perl,
 libtest-pod-coverage-perl, libtest-perl-critic-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Krzysztof Krzyzaniak (eloy) <eloy@debian.org>, gregor herrmann <gregor+debian@comodo.priv.at>, Carlo Segre <segre@debian.org>
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Return-Value/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libreturn-value-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libreturn-value-perl/

Package: libreturn-value-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, 
Description:  Polymorphic Return Values
 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 context a return value is used in.