r52706 - in /branches/upstream/libdata-dumper-concise-perl/current: Changes META.yml lib/Data/Dumper/Concise.pm lib/Data/Dumper/Concise/Sugar.pm lib/Devel/Dwarn.pm t/dwarn.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Sun Feb 14 07:46:37 UTC 2010
Author: ansgar-guest
Date: Sun Feb 14 07:44:38 2010
New Revision: 52706
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52706
Log:
[svn-upgrade] Integrating new upstream version, libdata-dumper-concise-perl (1.200)
Modified:
branches/upstream/libdata-dumper-concise-perl/current/Changes
branches/upstream/libdata-dumper-concise-perl/current/META.yml
branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise.pm
branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise/Sugar.pm
branches/upstream/libdata-dumper-concise-perl/current/lib/Devel/Dwarn.pm
branches/upstream/libdata-dumper-concise-perl/current/t/dwarn.t
Modified: branches/upstream/libdata-dumper-concise-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/Changes?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/Changes (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/Changes Sun Feb 14 07:44:38 2010
@@ -1,3 +1,6 @@
+1.200 Feb 13 2010
+ - make sure Devel::Dwarn::Dwarn and Devel::Dwarn::DwarnS work
+
1.100 Dec 10 2009
- add Data::Dumper::Concise::Sugar containing Dwarn and DwarnS
helper functions
Modified: branches/upstream/libdata-dumper-concise-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/META.yml?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/META.yml (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/META.yml Sun Feb 14 07:44:38 2010
@@ -22,4 +22,4 @@
perl: 5.6.0
resources:
license: http://dev.perl.org/licenses/
-version: 1.100
+version: 1.200
Modified: branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise.pm?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise.pm (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise.pm Sun Feb 14 07:44:38 2010
@@ -2,7 +2,7 @@
use 5.006;
-$VERSION = '1.100';
+$VERSION = '1.200';
require Exporter;
require Data::Dumper;
Modified: branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise/Sugar.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise/Sugar.pm?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise/Sugar.pm (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/lib/Data/Dumper/Concise/Sugar.pm Sun Feb 14 07:44:38 2010
@@ -45,6 +45,17 @@
warn Dumper($return);
return $return;
+Another trick that is extremely useful when doing method chaining is the
+following:
+
+ my $foo = Bar->new;
+ $foo->bar->baz->Data::Dumper::Concise::Sugar::DwarnS->biff;
+
+which is the same as:
+
+ my $foo = Bar->new;
+ (DwarnS $foo->bar->baz)->biff;
+
=head1 DESCRIPTION
use Data::Dumper::Concise::Sugar;
Modified: branches/upstream/libdata-dumper-concise-perl/current/lib/Devel/Dwarn.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/lib/Devel/Dwarn.pm?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/lib/Devel/Dwarn.pm (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/lib/Devel/Dwarn.pm Sun Feb 14 07:44:38 2010
@@ -1,6 +1,6 @@
package Devel::Dwarn;
-use Data::Dumper::Concise::Sugar ();
+use Data::Dumper::Concise::Sugar;
sub import {
Data::Dumper::Concise::Sugar->export_to_level(1, @_);
@@ -38,6 +38,17 @@
warn Dumper($return);
return $return;
+Another trick that is extremely useful when doing method chaining is the
+following:
+
+ my $foo = Bar->new;
+ $foo->bar->baz->Devel::Dwarn::DwarnS->biff;
+
+which is the same as:
+
+ my $foo = Bar->new;
+ (DwarnS $foo->bar->baz)->biff;
+
=head1 SEE ALSO
This module is really just a shortcut for L<Data::Dumper::Concise::Sugar>, check
Modified: branches/upstream/libdata-dumper-concise-perl/current/t/dwarn.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-dumper-concise-perl/current/t/dwarn.t?rev=52706&op=diff
==============================================================================
--- branches/upstream/libdata-dumper-concise-perl/current/t/dwarn.t (original)
+++ branches/upstream/libdata-dumper-concise-perl/current/t/dwarn.t Sun Feb 14 07:44:38 2010
@@ -6,3 +6,5 @@
use Test::More qw(no_plan);
can_ok __PACKAGE__, qw{Dwarn DwarnS};
+
+can_ok 'Devel::Dwarn', qw{Dwarn DwarnS};
More information about the Pkg-perl-cvs-commits
mailing list