The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MooseX::Dumper - Dumper with roles

SYNOPSIS

    use MooseX::Dumper;

    my $dumper = MooseX::Dumper->new_with_traits(
        traits => ['Perltidy', 'HTML'],
        dumper_class => 'Data::Dump',
    );
    print $dumper->Dumper(\$hash, \@array);

DESCRIPTION

METHODS

new_with_traits

traits

Moose Roles, check MooseX::Dumper::Roles::Perltidy and MooseX::Dumper::Roles::HTML

dumper_class

Data::Dumper by default. but you still have choice to use Data::Dump or others.

    my $dumper = MooseX::Dumper->new( dumper_class => 'Data::Dump' );

Dumper

    print $dumper->Dumper(\$hash, \@array);

AUTHOR

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Copyright 2009 Fayland Lam, all rights reserved.

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