From: Arthur Axel 'fREW' Schmidt Date: Sat, 13 Feb 2010 20:54:19 +0000 (-0600) Subject: forgot the S X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FData-Dumper-Concise.git;a=commitdiff_plain;h=refs%2Fheads%2Fdwarn_only forgot the S --- diff --git a/lib/Data/Dumper/Concise/Sugar.pm b/lib/Data/Dumper/Concise/Sugar.pm index 29400a8..694b422 100644 --- a/lib/Data/Dumper/Concise/Sugar.pm +++ b/lib/Data/Dumper/Concise/Sugar.pm @@ -67,7 +67,7 @@ thing; for that we have C: and C: # 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: diff --git a/lib/Devel/Dwarn.pm b/lib/Devel/Dwarn.pm index abcd9cd..bf45cb3 100644 --- a/lib/Devel/Dwarn.pm +++ b/lib/Devel/Dwarn.pm @@ -47,7 +47,7 @@ thing; for that we have C: and C: # 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: