Permalink
Browse files

Replace // with || (this is not a 5.10+ module)

  • Loading branch information...
1 parent 51e8e4b commit dcb5d2a70024b40d8f6c5789212fb2c5dff4185e Steven Haryanto (on PC) committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Devel/EndStats.pm
View
4 lib/Devel/EndStats.pm
@@ -183,8 +183,8 @@ END {
next unless $inc_info{$r}{lines};
$inc_info{$r}{time} ||= 0;
$stats .= sprintf "# #%3s %5d lines %7.3fms(%3d%%) %s (loaded by %s)\n",
- $inc_info{$r}{order} // '?', $inc_info{$r}{lines}, $inc_info{$r}{time}*1000, $secs ? $inc_info{$r}{time}/$secs*100 : 0,
- $r, ($inc_info{$r}{caller} // "?");
+ $inc_info{$r}{order} || '?', $inc_info{$r}{lines}, $inc_info{$r}{time}*1000, $secs ? $inc_info{$r}{time}/$secs*100 : 0,
+ $r, ($inc_info{$r}{caller} || "?");
}
}

0 comments on commit dcb5d2a

Please sign in to comment.