[libclone-pp-perl] 05/06: description cosmetics
gregor herrmann
gregoa at debian.org
Mon Feb 17 18:46:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libclone-pp-perl.
commit bd64a3cc9eaf01751f4dea014016d35c06156d87
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Feb 17 19:45:34 2014 +0100
description cosmetics
Git-Dch: Ignore
---
debian/control | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 8e4a1db..4e58f51 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Package: libclone-pp-perl
Architecture: all
Depends: ${perl:Depends},
${misc:Depends}
-Description: Recursively copy Perl datatypes
+Description: module to recursively copy Perl datatypes
Clone::PP provides a general-purpose clone function to make deep
copies of Perl data structures. It calls itself recursively to copy
nested hash, array, scalar and reference types, including tied
@@ -24,8 +24,8 @@ Description: Recursively copy Perl datatypes
The clone() function takes a scalar argument to copy. To duplicate
arrays or hashes, pass them in by reference:
.
- my $copy = clone(\@array); my @copy = @{ clone(\@array) };
- my $copy = clone(\%hash); my %copy = %{ clone(\%hash) };
+ my $copy = clone(\@array); my @copy = @{ clone(\@array) };
+ my $copy = clone(\%hash); my %copy = %{ clone(\%hash) };
.
The clone() function also accepts an optional second parameter that
can be used to limit the depth of the copy. If you pass a limit of
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclone-pp-perl.git
More information about the Pkg-perl-cvs-commits
mailing list