use Dumpvalue;
my $dumper = new Dumpvalue;
$dumper->set(globPrint => 1);
$dumper->dumpValue(\*::);
$dumper->dumpvars('main');
my $dump = $dumper->stringify($some_value);
Change style of string dump. Default value of tick is auto, one
can enable either double-quotish dump, or single-quotish by setting it
to " or '. By default, characters with high bit set are printed
as is. If quoteHighBit is set, they will be quoted.
my $dump = $dumper->stringify($value [,$noticks] );
Returns the dump of a single scalar without printing. If the second
argument is true, the return value does not contain enclosing ticks.
Does not handle data structures.
The optional arguments are considered as literal strings unless they
start with ~ or !, in which case they are interpreted as regular
expressions (possibly negated).
The second example prints entries with names foo, and also entries
with names which ends on bar, or are shorter than 5 chars.