Skip to content
Snippets Groups Projects
Commit 9bee89ad authored by James Smith's avatar James Smith
Browse files

added Terse call

parent 994a8f83
No related branches found
No related tags found
No related merge requests found
......@@ -712,15 +712,16 @@ sub _objs_from_sth {
}
sub dump_data {
my $self = shift;
my $data = shift;
my $dumper = Data::Dumper->new([$data]);
$dumper->Indent(0);
my $dump = $dumper->Dump();
#$dump =~ s/'/\\'/g;
$dump =~ s/^\$VAR1 = //;
return $dump;
my $self = shift;
my $data = shift;
my $dumper = Data::Dumper->new([$data]);
$dumper->Indent(0);
$dumper->Terse(1);
my $dump = $dumper->Dump();
# $dump =~ s/'/\\'/g;
# $dump =~ s/^\$VAR1 = //;
return $dump;
}
sub get_dumped_data {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment