NAME

Data::Dumper::Table - A more tabular way to Dumper your Data

VERSION

Version 0.007

SYNOPSIS

use Data::Dumper::Table;

say Tabulate [
    { foo => 1, bar => 2 },
    { foo => 3, bar => { apple => q(or'ange) } },
    [
        { bar => q(baz), flibble => q(quux), flobble => undef() },
        { bar => q(baz2), flobble => qr/foo/ }
    ]
];

ARRAY(0x145dc30) [0] HASH(0x143e148)
                     ----------
                     bar => '2'
                     foo => '1'
                 [1] HASH(0x14531d8)
                     --------------------------
                     bar => HASH(0x1453130)
                            -------------------
                            apple => 'or\'ange'
                     foo => '3'
                 [2] ARRAY(0x145dba0)
                      bar    | flibble       | flobble
                     --------+---------------+---------------
                      'baz'  | 'quux'        | (* undef *)
                      'baz2' | (* no data *) | qr/(?^u:foo)/

DESCRIPTION

The goal of Data::Dumper::Table is to provide a more-tabular alternative to Data::Dumper.

EXPORTED FUNCTIONS

Tabulate DATA

Turn the provided DATA into a (hopefully) nicely-formatted table. More verbose and space-hungry than Data::Dumer, but possibly easier to envision.

CAVEATS

This is Alpha software

This module is explicitly alpha-quality software. If you successfully use it in production, you're a braver being than I am.

TODO

Sortkeys

Replicate $Data::Dumper::Sortkeys

Deparse

Replicate $Data::Dumper::Deparse