more than 999 results (0.963 seconds)
Carp - alternative warn and die for modules 32 ++

The Carp routines are useful in your own modules because they act like "die()" or "warn()", but with a message which is more likely to be useful to a user of your module. In the case of "cluck()" and "confess()", that context is a summary of every ca...

ZEFRAM/Carp-1.3301 - 01 Apr 2014 18:33:50 GMT - Search in distribution

Devel::Carp - warn of errors (from perspective of caller) ++

The Carp routines are useful in your own modules because they act like die() or warn(), but report where the error was in the code they were called from. Thus if you have a routine Foo() that has a carp() in it, then the carp() will report the error ...

JPRIT/Devel-Carp-0.04 - 19 Nov 1998 17:49:35 GMT - Search in distribution

Tk::Carp - Redirect warnings and errors to Tk Dialogs ++

When Perl programs are run in a GUI environment, it is often desirable to have them run with no console attached. Unfortunately, this causes any warnings or errors to be lost. Worse, fatal errors can cause your program to silently disappear, forcing ...

JOHNSCA/TkCarp-1.2   (1 review) - 12 May 2004 00:24:56 GMT - Search in distribution

Carp::POE - Carp adapted to POE 2 ++

This module provides the same functions as Carp, but modifies the behavior of "carp()" and "croak()" if called inside a POE event handler. The file names/line numbers in the emitted warnings are replaced with POE::Session's $_[CALLER_FILE] and $_[CAL...

HINRIK/Carp-POE-0.10 - 23 Nov 2011 18:33:57 GMT - Search in distribution

Carp::Parse - Parse a Carp stack trace into an array of caller information with parsed arguments. 1 ++

Carp produces a stacktrace that includes caller arguments; this module parses each line of the stack trace to extract its arguments, which allows rewriting the stack trace (for example, to redact sensitive information). VERSION Version 1.0.7 SYNOPSIS...

KATE/Carp-Parse-1.0.7 - 15 Nov 2012 21:02:27 GMT - Search in distribution

Carp::Source - Warn of errors with stack backtrace and source context ++

This module exports one function, "source_cluck()", which prints stack traces with source code extracts to make it obvious what has been called from where. It does not work for one-liners because there is no file from which to load source code. FUNCT...

MARCEL/Carp-Source-1.101420 - 22 May 2010 20:47:44 GMT - Search in distribution

Carp::Syslog - Send warn and die messages to syslog ++

I got tired of writing this all the time: use Sys::Syslog; use File::Basename qw( basename ); BEGIN { openlog( basename($0), 'pid', 'local1' ); $SIG{'__WARN__'} = sub { syslog( 'warning', @_ ); warn @_ }; $SIG{'__DIE__'} = sub { syslog( 'err', @_ ); ...

CGRAU/Carp-Syslog-0.01 - 18 Aug 2012 00:10:26 GMT - Search in distribution

Carp::Always - Warns and dies noisily with stack backtraces 27 ++

This module is meant as a debugging aid. It can be used to make a script complain loudly with stack backtraces when warn()ing or die()ing. Here are how stack backtraces produced by this module looks: # it works for explicit die's and warn's $ perl -M...

FERREIRA/Carp-Always-0.13   (6 reviews) - 06 Nov 2013 15:50:56 GMT - Search in distribution

Test::Carp - test your code for calls to Carp functions ++

Call given code (with given arguments) and tests whether the given Carp function (or their imported versions) are called (with a given value) or not. INTERFACE All functions are put in the caller's name space during import(). If you'd rather use thei...

DMUEY/Test-Carp-0.2 - 17 Nov 2010 15:26:28 GMT - Search in distribution

CGI::Carp - CGI routines for writing to the HTTPD (or other) error log 21 ++

CGI scripts have a nasty habit of leaving warning messages in the error logs that are neither time stamped nor fully identified. Tracking down the script that caused the error is a pain. This fixes that. Replace the usual use Carp; with use CGI::Carp...

LEEJO/   (1 review) - 02 Jul 2014 14:53:06 GMT - Search in distribution
  • CGI - Handle Common Gateway Interface requests and responses
  • CGI::Push - Simple Interface to Server Push
  • CGI::Cookie - Interface to HTTP Cookies

Carp::Growl - Send warnings to Growl ++

Carp::Growl is a Perl module that can send warning messages to notification system such as Growl, and also outputs usual(to tty etc...) Basically, you write like this to the beginning of your code. use Carp::Growl; This works only in your 'package sc...

KPEE/Carp-Growl-v0.0.10 - 01 Oct 2013 09:58:27 GMT - Search in distribution

Carp::Reply - get a repl on exceptions in your program 8 ++

Carp::Reply provides a repl to use within an already running program, which can introspect the current state of the program, including the call stack and current lexical variables. It works just like Reply, with the addition of some commands to move ...

DOY/Carp-Reply-0.08 - 17 Dec 2013 16:56:56 GMT - Search in distribution

Script::Carp - provide some ways to leave messages when script died ++

When you write script on MS Windows and run it and then it died, prompt window is immediately clesed and you cannot see any messages. For such case, this module is usefule. When You use this module with some options or use setup method with some opti...

KTAT/Script-Carp-0.05 - 30 Dec 2012 04:21:30 GMT - Search in distribution

Carp::Notify - Loudly complain in lots of places when things break badly ++

Carp::Notify is an error reporting module designed for applications that are running unsupervised (a CGI script, for example, or a cron job). If a program has an explosion, it terminates (same as die or croak or exit, depending on preference) and the...

BCONRY/Carp-Notify-1.11 - 01 Feb 2013 19:03:26 GMT - Search in distribution

Carp::REPL - read-eval-print-loop on die and/or warn 2 ++
TSIBLEY/Carp-REPL-0.16 - 28 May 2013 22:13:53 GMT - Search in distribution

Carp::Clan - Report errors from perspective of caller of a "clan" of modules 3 ++

This module is based on """" from Perl 5.005_03. It has been modified to skip all package names matching the pattern given in the "use" statement inside the ""qw()"" term (or argument list). Suppose you have a family of modules or classes name...

STBEY/Carp-Clan-6.04   (1 review) - 24 Oct 2009 22:12:39 GMT - Search in distribution

Carp::Ensure - Ensure a value is of the expected type ++

Most of the time it's a nice feature, that Perl has no really strict type checking as in C++. However, sometimes you want to ensure, that you subs actually get the type of arguments they expect. Or they return what you expect. That is where Carp::Ens...

SMERTEN/Carp-Ensure-0.23 - 29 Jan 2002 14:59:51 GMT - Search in distribution

Carp::Trace - simple traceback of call stacks ++

Carp::Trace provides an easy way to see the route your script took to get to a certain place. It uses simple "caller" calls to determine this. FUNCTIONS trace( [DEPTH, OFFSET, ARGS] ) "trace" is a function, exported by default, that gives a simple tr...

KANE/Carp-Trace-0.12   (2 reviews) - 11 Apr 2006 12:49:40 GMT - Search in distribution

Carp::Datum - Debugging And Tracing Ultimate Module ++

The "Carp::Datum" module brings powerful debugging and tracing features to development code: automatic flow tracing, returned value tracing, assertions, and debugging traces. Its various functions may be customized dynamically (i.e. at run time) via ...

SQUIRREL/Carp-Datum-0.1.3 - 16 Jan 2002 22:19:51 GMT - Search in distribution

Carp::Perror - print msg then exit ++

Exit without any stack backtrace msg. EXPORT None by default. METHODS pexit() exit with defined exit code if the first argv is a number. else exit with 0. perror() just a alias of pexit(). SEE ALSO Carp AUTHOR Chen Gang, <> COP...

CHENGANG/Carp-Perror-0.02 - 24 Jun 2014 15:44:29 GMT - Search in distribution

Hosting generously
sponsored by Bytemark