Skip to content

Commit

Permalink
Don't show empty argument list for method calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
gisle committed Jan 12, 2009
1 parent 5e0b900 commit 285ab57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Data/Dump/Trace.pm
Expand Up @@ -139,7 +139,9 @@ sub new {
sub print_call {
my $self = shift;
my $arg = shift;
print YELLOW, "$self->{name}", RESET, $self->{input};
my $input = $self->{input};
$input = "" if $input eq "()" && $self->{name} =~ /->/;
print YELLOW, "$self->{name}", RESET, $input;
}

sub return_void {
Expand Down

0 comments on commit 285ab57

Please sign in to comment.