Help for this page

Select Code to Download


  1. or download this
    my $cloned_object = ref($existing_object)->new();
    
  2. or download this
    my $cloned_object = ref($object)->new(%objects_attrs_and_values);
    
  3. or download this
    my $cloned_object = $existing_object->clone();