Bug#1082942: ITP: libcarp-object-perl -- object-oriented replacement for Carp or Carp::Clan Perl modules

Damyan Ivanov <[email protected]>
Newsgroups gmane.linux.debian.devel.perl
Message-ID <E1sucIh-00CRHC-3A__20605.8666155272$1727549150$gmane$org@universe.local>
Package: wnpp
Owner: Damyan Ivanov <[email protected]>
Severity: wishlist
X-Debbugs-CC: [email protected], [email protected]

* Package name    : libcarp-object-perl
  Version         : 1.02
  Upstream Author : Laurent Dami <[email protected]>
* URL             : https://metacpan.org/release/Carp-Object
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : object-oriented replacement for Carp or Carp::Clan Perl modules

Carp::Object is an object-oriented alternative to Carp/croak or
Carp::Clan/croak, for reporting errors in modules from the perspective of the
caller instead of reporting the internal implementation line where the error
occurs.

Carp or Carp::Clan were designed long ago, at a time when Perl had no support
yet for object-oriented programming; therefore they only have a functional
API that is not very well suited for extensions. The present module attemps
to mimic the same behaviour, but with an object-oriented implementation that
offers more tuning options, and also supports errors raised as Exception
objects.

Unlike Carp or Carp::Clan, where the presentation of stack frames is
hard-coded, here it is delegated to Devel::StackTrace. This means that
clients can also take advantage of options in Devel::StackTrace to tune the
output -- or even replace it by another class.

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.