use List::Util();
sub insert_bulk {
- my ($self, $source, $cols, $data) = @_;
+ my $self = shift;
+ my ($source, $cols, $data) = @_;
my $identity_insert = 0;
$self->dbh->do("SET IDENTITY_INSERT $table ON");
}
- next::method(@_);
+ $self->next::method(@_);
if ($identity_insert) {
my $table = $source->from;