Description
perl-Clone - Recursively Copy Perl Datatypes
Distribution: openSUSE 42.1
Repository: openSUSE Oss all
Package name: perl-Clone
Package version: 0.38
Package release: 3.2
Package architecture: x86_64
Package type: rpm
Installed size: 23.12 KB
Download size: 16.07 KB
Official Mirror: ftp.gwdg.de
This module provides a 'clone()' method which makes recursive copies of
nested hash, array, scalar and reference types, including tied variables
and objects.
'clone()' takes a scalar argument and duplicates it. To duplicate lists,
arrays or hashes, pass them in by reference, e.g.
my $copy = clone (\@array);
my %copy = %;