NAME

Devel::XDebug - eXtended Debug Dumper

VERSION

version

0.0.1.

stability

This module is absolute stable. You may use it not fearing.

SYNOPSIS

use Devel::XDebug;

debug($style, \&do_after, 'REF1' => $REF1, 'REF2' => $REF2);

DESCRIPTION

The eXtended Debug Dumper makes extended reports about variables for debug usage. It also supports debug for CGI applications.

Functions

debug($style, \&proc, %ddata)

Prints report for values of the hash-array '%ddata' also using keys as labels. If style is 'cgi', script prints HTTP header for text/plain data before dump. Other values of '$style' are ignored. After dump this function executes '&proc' if this param isn't 0.

Returns: 1 if successed, undef if there are problems.

EXAMPLE

use Devel::XDebug;

$first_letters = [

{
	"A" => 1,
	"B" => 2,
	"C" => 3		
},
{
	"D" => 4,
	"E" => 5,
	"F" => 6
}	
];

debug(0, die, '$first_letters' => $first_letters);

AUTHOR

Edward Chernenko <specpc@yandex.ru>

Copyright ©Spectrum. All rights reserved.

This software is distributed under the terms of the Artistic License <URL:http://ams.wiw.org/code/artistic.txt>.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 142:

Non-ASCII character seen before =encoding in '©Spectrum.'. Assuming CP1252