1Specio::PartialDump(3)User Contributed Perl DocumentationSpecio::PartialDump(3)
2
3
4
6 Specio::PartialDump - A partially rear-ended copy of Devel::PartialDump
7 without prereqs
8
10 version 0.44
11
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
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
31 This software is copyright (c) 2008 by יובל קוג'מן (Yuval Kogman).
32
33 This is free software; you can redistribute it and/or modify it under
34 the same terms as the Perl 5 programming language system itself.
35
37 Bugs may be submitted at
38 <https://github.com/houseabsolute/Specio/issues>.
39
40 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
41
43 The source code repository for Specio can be found at
44 <https://github.com/houseabsolute/Specio>.
45
47 Dave Rolsky <autarch@urth.org>
48
50 This software is Copyright (c) 2012 - 2019 by Dave Rolsky.
51
52 This is free software, licensed under:
53
54 The Artistic License 2.0 (GPL Compatible)
55
56 The full text of the license can be found in the LICENSE file included
57 with this distribution.
58
59
60
61perl v5.30.0 2019-08-15 Specio::PartialDump(3)