Permalink
Browse files

Improve readability of event dump output.

  • Loading branch information...
rcaputo committed Jun 19, 2012
1 parent 6232da8 commit f50f701cd7c799007276ff126bbfecf315e4a691
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Reflex/Event.pm
View
@@ -127,7 +127,7 @@ sub dump {
my $dump = "=== $self ===\n";
my %clone = ($self->_headers(), $self->_body());
foreach my $k (sort keys %clone) {
- $dump .= "$k: $clone{$k}\n";
+ $dump .= " $k: " . ($clone{$k} // '(undef)') . "\n";
if ($k eq '-emitters') {
my @emitters = $self->get_all_emitters();
for my $i (0..$#emitters) {

0 comments on commit f50f701

Please sign in to comment.