forgot the S
[p5sagit/Data-Dumper-Concise.git] / lib / Data / Dumper / Concise / Sugar.pm
index 29400a8..694b422 100644 (file)
@@ -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: