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 as occurring where Foo() was called, not where carp() was called.
(Added: Sun Jan 02 2000 Hits: 190 Rating: 0.00 Votes: 0)
This module attempts to generate a stack dump from a core file by locating the best available debugger (if any) and running it with the appropriate arguments and command script.
(Added: Sun Jan 02 2000 Hits: 175 Rating: 0.00 Votes: 0)
Perl extension for creating a debugger initialization files from C header file macros. Devel::DebugInit is aimed at C/C++ developers who want access to C macro definitions from within a debugger. It provides a simple and automated way of creating debugger initialization files for a specific project. The initialization files created contain user-defined functions built from the macro definitions in the project's header files.
(Added: Sun Jan 02 2000 Hits: 194 Rating: 0.00 Votes: 0)
Perl extension for creating .gdbinit file from C header file macros. This module is a backend for the GNU debugger, gdb, that is used together with the generic Devel::DebugInit front end to produce an initialization file for gdb. This module provides the output routines that are specific for gdb.
(Added: Sun Jan 02 2000 Hits: 195 Rating: 0.00 Votes: 0)
Use this module only during development and wait for your script to finish. It will report where your script gets infected by a sawampersand operation.
(Added: Sun Jan 02 2000 Hits: 193 Rating: 0.00 Votes: 0)
The Devel::SawAmpersand can tell you if Perl has set sawampersand, but it doesn't tell you where. Sure, you can grep, but what if you don't know where to grep?
(Added: Sun Jan 02 2000 Hits: 203 Rating: 0.00 Votes: 0)
Utility for looking for perl objects that are not reclaimed. Devel::Leak has two functions NoteSV and CheckSV.
NoteSV walks the perl internal table of allocated SVs (scalar values) - (which actually contains arrays and hashes too), and records their addresses in a table. It returns a count of these
things'', and stores a pointer to the table (which is obtained from the heap using malloc()) in its argument.
(Added: Sun Jan 02 2000 Hits: 228 Rating: 0.00 Votes: 0)
A Devel::Memo object is defined as a subroutine reference to do some sort of calculation, together with a simple sort of prototype. The elements of the prototype may be: -eq, indicating a simple scalar argument; -equal, indicating an argument held in a scalar but possibly containing references, which will be examined in a recursive fashion; and -rest, meaning that zero or more extra arguments may appear, which should be compared both in number, and individually as with -equal.
(Added: Sun Jan 02 2000 Hits: 177 Rating: 0.00 Votes: 0)
Perl extension to collect module use information. The Devel::Modlist utility is provided as a means by which to get a quick run-down on which libraries and modules are being utilized by a given script.
Just as compiler systems like gcc provide dependancy information via switches such as -M, Devel::Modlist is intended to assist script authors in preparing dependancy information for potential users of their scripts.
(Added: Sun Jan 02 2000 Hits: 208 Rating: 0.00 Votes: 0)