Lines Matching defs:copy
248 # Careful to take copy
431 my $info = { %{ +shift } }; # make sure we take a copy
676 # we pass. Used by copy() and move().
704 sub copy {
1727 =head2 copy
1729 $new_obj = $obj->copy;
1730 $new_obj = $obj->copy($new_id);
1731 $new_obj = $obj->copy({ title => 'new_title', rating => 18 });
1733 This creates a copy of the given $obj, removes the primary key,
1737 For tables with a single column primary key, copy() can be called
1742 For tables with a multi-column primary key, copy() must be called with
1747 my $blrunner_dc = $blrunner->copy("Bladerunner: Director's Cut");
1748 my $blrunner_unrated = $blrunner->copy({
1759 For transferring objects from one class to another. Similar to copy(), an
1761 is a subclass of $old_obj's subclass). Like copy(), you can supply