Skip to content

Commit

Permalink
allow dumper to use double quotes or representing string values
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 6, 2014
1 parent 9e86687 commit 232bed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.92 2014-04-05
4.92 2014-04-06
- Removed deprecated use of hash references for optgroup generation with
select_field helper.

Expand Down
4 changes: 3 additions & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -111,7 +111,9 @@ sub deprecated {
$ENV{MOJO_FATAL_DEPRECATIONS} ? croak(@_) : carp(@_);
}
sub dumper { Data::Dumper->new([@_])->Indent(1)->Sortkeys(1)->Terse(1)->Dump }
sub dumper {
Data::Dumper->new([@_])->Indent(1)->Sortkeys(1)->Terse(1)->Useqq(1)->Dump;
}
sub encode { _encoding($_[0])->encode("$_[1]") }
Expand Down

0 comments on commit 232bed6

Please sign in to comment.