projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
A couple of typos, and general whitespace cleanup (ick)
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
Copy.pm
diff --git
a/lib/DBIx/Class/CDBICompat/Copy.pm
b/lib/DBIx/Class/CDBICompat/Copy.pm
index
ed42d95
..
ffd5381
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/Copy.pm
+++ b/
lib/DBIx/Class/CDBICompat/Copy.pm
@@
-25,7
+25,7
@@
Emulates C<<Class::DBI->copy($new_id)>>.
sub copy {
my($self, $arg) = @_;
return $self->next::method($arg) if ref $arg;
-
+
my @primary_columns = $self->primary_columns;
croak("Need hash-ref to edit copied column values")
if @primary_columns > 1;