Clone 0.23
Sponsored Links
Clone 0.23 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
903
Date added:
2007-05-16
Publisher:
Ray Finch
Clone 0.23 description
Clone is a Perl module that can recursively copy Perl datatypes.
SYNOPSIS
use Clone;
push @Foo::ISA, Clone;
$a = new Foo;
$b = $a->clone();
# or
use Clone qw(clone);
$a = { foo => bar, move => zig };
$b = [ alpha, beta, gamma, vlissides ];
$c = new Foo();
$d = clone($a);
$e = clone($b);
$f = clone($c);
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 an optional parameter that can be used to limit the depth of the copy. To duplicate lists, arrays or hashes, pass them in by reference. e.g.
my $copy = clone (@array);
# or
my %copy = %{ clone (%hash) };
For a slower, but more flexible solution see Storables dclone().
SYNOPSIS
use Clone;
push @Foo::ISA, Clone;
$a = new Foo;
$b = $a->clone();
# or
use Clone qw(clone);
$a = { foo => bar, move => zig };
$b = [ alpha, beta, gamma, vlissides ];
$c = new Foo();
$d = clone($a);
$e = clone($b);
$f = clone($c);
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 an optional parameter that can be used to limit the depth of the copy. To duplicate lists, arrays or hashes, pass them in by reference. e.g.
my $copy = clone (@array);
# or
my %copy = %{ clone (%hash) };
For a slower, but more flexible solution see Storables dclone().
Clone 0.23 Screenshot
Clone 0.23 Keywords
Perl module
Clone 0.23
clone
Perl
copy
module
recursively
Datatypes
Clone 0.23
Libraries
Programming
Bookmark Clone 0.23
Clone 0.23 Copyright
WareSeeker periodically updates pricing and software information of Clone 0.23 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Clone 0.23 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Version History
Related Software
Clone::More is a Perl module that can copy Perl data structures. Free Download
Zonestats create an RRD database with the values of CPU and memory (RSS) usage per Solaris 10 zone. Free Download
DCE::UUID is a Perl module with misc UUID functions. Free Download
Thesaurus is a Perl module that maintains lists of associated items. Free Download
List::Pairwise is a Perl module with map/grep arrays and hashes pairwise. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
HOP::Lexer is a Perl module for "Higher Order Perl" Lexer. Free Download
AudioCD is a Perl module for basic Audio CD control. Free Download
Latest Software
Popular Software
Favourite Software