projects
/
p5sagit/Devel-REPL.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b883972
)
Fix "No arguments!" error in Plugin::DDS when nothing to dump (fixes: #71205)
Ash Berlin [Fri, 24 May 2013 10:03:32 +0000 (11:03 +0100)]
lib/Devel/REPL/Plugin/DDS.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Devel/REPL/Plugin/DDS.pm
b/lib/Devel/REPL/Plugin/DDS.pm
index
9a32449
..
d32a5c3
100644
(file)
--- a/
lib/Devel/REPL/Plugin/DDS.pm
+++ b/
lib/Devel/REPL/Plugin/DDS.pm
@@
-8,7
+8,7
@@
around 'format_result' => sub {
my $self = shift;
my @to_dump = @_;
my $out;
- if (@to_dump != 1 || ref $to_dump[0]) {
+ if (@to_dump > 1 || ref $to_dump[0]) {
if (@to_dump == 1 && overload::Method($to_dump[0], '""')) {
$out = "@to_dump";
} else {