http://qs321.pair.com?node_id=11149818


in reply to Hash/Array slice : how to exclude items?

Sounds like you want Data::Dump::Filtered:

#!/usr/bin/env perl use strict; use warnings; use Data::Dump 'dumpf'; my $hr = { schema => 'foo', whatever => 'you want', log => 'bar', quux => { log => 'baz', still => 'want this' } }; print dumpf ( $hr, sub { return {hide_keys => [qw/log schema/]}; } ) . "\n";

🦛