Commits

Toby Inkster committed e2fd11d

Data::Printer fix

  • Participants
  • Parent commits 3ce478c

Comments (0)

Files changed (1)

lib/MooX/Struct.pm

 	require Term::ANSIColor;
 	my $self   = shift;
 	
-	my @values = map { scalar Data::Printer::p(\$_) } @$self;
+	my @values = map { scalar &Data::Printer::p(\$_) } @$self;
 
 	if (grep /\n/, @values)
 	{