NAME

Clone - Perl extension for a recurrsive copy of nested objects.

SYNOPSIS

use Clone;

push @Package::A::ISA, 'Clone';

$a = new Package::A;
$b = $a->clone;

# or
use Clone qw(clone);

$b = clone($a,1);

DESCRIPTION

The Clone module provides a clone method for making recursive copies of nested hash, array, and scalar objects, as well as tied variables. An optional parameter can be used to limit the depth of the copy.

AUTHOR

Ray Finch, ray@classmates.com

Copyright 2000 Ray Finch.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

perl(1).