=encoding euc-jp =head1 名前 Clone - ネストしているオブジェクトの再帰的コピーのためのPerl拡張 =head1 書き方 use Clone; push @Package::A::ISA, 'Clone'; $a = new Package::A; $b = $a->clone; # あるいは use Clone qw(clone); $b = clone($a,1); =head1 説明 Cloneモジュールはネストし、tieされている変数も含めて、 ハッシュ、配列、そしてスカラのオブジェクトの再帰的なコピーを作成する cloneメソッドを提供します。オプションのパラメータによってコピーの深さを 制限することが出来ます。 =head1 作者 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. =head1 参考資料 perl(1), Storable(3).