[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344675: ITP: libreturn-value-perl -- Polymorphic Return Values

Package: wnpp
Severity: wishlist
Owner: "Krzysztof Krzyzaniak (eloy)" <eloy@debian.org>

* Package name    : libreturn-value-perl
  Version         : 1.30
  Upstream Authors: Casey West <casey@geeknest.com>, Ricardo Signes <rjbs@cpan.org> 
* URL             : http://www.example.org/
* License         : Perl: Artistic/GPL
  Description     : Polymorphic Return Values

 Polymorphic return values are really useful.  Often, we just want toknow 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.
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Reply to: