File: README

package info (click to toggle)
libcarp-always-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 120 kB
  • sloc: perl: 39; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,064 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
31
32
33
34
35
36
37
38
39
40
41
42
Carp-Always version 0.16
========================

Carp::Always can be used to make a script complain loudly
with stack traces when warn()ing or die()ing.

  perl -MCarp::Always script.pl


Perl has Carp which is a module as old as Perl 5. It has
an option to print errors (from the perspective of caller)
with stack backtrace. With a few lines of codes, this module
illustrates how to make warn() and die() noisy as well.

This module was written as a reaction to Acme::JavaTrace by
Sébastien Aperghis-Tramoni. At the time I didn't know Sébastien or
or understood his humor. But the module
idea stood and lives to help you out with debugging your code.

INSTALLATION

To install this module type the following:

  perl Makefile.PL
  make
  make test
  make install

DEPENDENCIES

This module requires these other modules and libraries:

  Carp

but that is a core Perl module.

COPYRIGHT AND LICENCE

Copyright (C) 2005-2013, 2018 by Adriano Ferreira

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.