1Specio::PartialDump(3)User Contributed Perl DocumentationSpecio::PartialDump(3)
2
3
4

NAME

6       Specio::PartialDump - A partially rear-ended copy of Devel::PartialDump
7       without prereqs
8

VERSION

10       version 0.48
11

SYNOPSIS

13         use Specio::PartialDump qw( partial_dump );
14
15         partial_dump( { foo => 42 } );
16         partial_dump(qw( a b c d e f g ));
17         partial_dump( foo => 42, bar => [ 1, 2, 3 ], );
18

DESCRIPTION

20       This is a copy of Devel::PartialDump with all the OO bits and prereqs
21       removed. You may want to use this module in your own code to generate
22       nicely formatted messages when a type constraint fails.
23
24       This module optionally exports one sub, "partial_dump". This sub
25       accepts any number of arguments. If given more than one, it will assume
26       that it's either been given a list of key/value pairs (to build a hash)
27       or a list of values (to build an array) and dump them appropriately.
28       Objects and references are stringified in a sane way.
29

SUPPORT

31       Bugs may be submitted at
32       <https://github.com/houseabsolute/Specio/issues>.
33

SOURCE

35       The source code repository for Specio can be found at
36       <https://github.com/houseabsolute/Specio>.
37

AUTHOR

39       Dave Rolsky <autarch@urth.org>
40
42       This software is copyright (c) 2008 by יובל קוג'מן (Yuval Kogman).
43
44       This is free software; you can redistribute it and/or modify it under
45       the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.36.0                      2022-07-22            Specio::PartialDump(3)
Impressum