Specio::PartialDump(3) User Contributed Perl Documentation Specio::PartialDump(3)

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

This is a copy of Devel::PartialDump with all the OO bits and prereqs removed. You may want to use this module in your own code to generate nicely formatted messages when a type constraint fails.

This module optionally exports one sub, "partial\_dump". This sub accepts any number of arguments. If given more than one, it will assume that it's either been given a list of key/value pairs (to build a hash) or a list of values (to build an array) and dump them appropriately. Objects and references are stringified in a sane way.

# [COPYRIGHT AND LICENSE](#COPYRIGHT_AND_LICENSE)

This software is copyright (c) 2008 by ×™×•×‘×œ ×§×•×’'×ž×Ÿ (Yuval Kogman).

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

# [POD ERRORS](#POD_ERRORS)

Hey! **The above document had some coding errors, which are explained below:**

[Around line 232:](#Around)

Non-ASCII character seen before =encoding in '×™×•×‘×œ'. Assuming CP1252

2026-10-26 perl v5.44.0

---

Document: Specio::PartialDump(3pm) from perl-specio 0.53-r7 (Chainguard OS)
Source: https://github.com/houseabsolute/Specio
