Showing 1 changed files with 9 additions and 9 deletions
+9 -9
lib/DBIx/Custom.pm
... ...
@@ -868,25 +868,25 @@ sub select {
868 868
     my $tables = ref $table eq 'ARRAY' ? $table
869 869
                : defined $table ? [$table]
870 870
                : [];
871
-    my $columns   = delete $args{column};
872
-    my $where     = delete $args{where} || {};
873
-    my $join      = delete $args{join} || [];
871
+    my $columns   = $args{column};
872
+    my $where     = $args{where} || {};
873
+    my $join      = $args{join} || [];
874 874
     croak qq{"join" must be array reference } . _subname
875 875
       unless ref $join eq 'ARRAY';
876
-    my $relation = delete $args{relation};
876
+    my $relation = $args{relation};
877 877
     warn "select() relation option is DEPRECATED!"
878 878
       if $relation;
879
-    my $param = delete $args{param} || {}; # DEPRECATED!
879
+    my $param = $args{param} || {}; # DEPRECATED!
880 880
     warn "select() param option is DEPRECATED!"
881 881
       if keys %$param;
882
-    my $where_param = delete $args{where_param} || $param || {};
883
-    my $id = delete $args{id};
884
-    my $primary_key = delete $args{primary_key};
882
+    my $where_param = $args{where_param} || $param || {};
883
+    my $id = $args{id};
884
+    my $primary_key = $args{primary_key};
885 885
     croak "update method primary_key option " .
886 886
           "must be specified when id is specified " . _subname
887 887
       if defined $id && !defined $primary_key;
888 888
     $primary_key = [$primary_key] unless ref $primary_key eq 'ARRAY';
889
-    my $prefix = delete $args{prefix};
889
+    my $prefix = $args{prefix};
890 890
     
891 891
     # Add relation tables(DEPRECATED!);
892 892
     $self->_add_relation_table($tables, $relation);