projects
/
p5sagit/Data-Dumper-Concise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
forgot the S
[p5sagit/Data-Dumper-Concise.git]
/
lib
/
Data
/
Dumper
/
Concise
/
Sugar.pm
diff --git
a/lib/Data/Dumper/Concise/Sugar.pm
b/lib/Data/Dumper/Concise/Sugar.pm
index
29400a8
..
694b422
100644
(file)
--- a/
lib/Data/Dumper/Concise/Sugar.pm
+++ b/
lib/Data/Dumper/Concise/Sugar.pm
@@
-67,7
+67,7
@@
thing; for that we have C<Dwarn_only>:
and C<DwarnS_only>:
# only Dwarn the first item
- my $data = Dwarn_only { $_->[0] } [ some_call(...) ];
+ my $data = DwarnS_only { $_->[0] } [ some_call(...) ];
Another trick that is extremely useful when doing method chaining is the
following: