Tuesday, February 19, 2008

Cloning Data Objects in perl

use Storable qw/dclone/;

my $hash =

$newhash = dclone($hash);

You may get an error if you try to simply use an equal to sign within in a Perl object.

No comments: