}
# If order has errors set error for orderitems as well
- my $order_entry;
+ $order_entry = undef;
foreach my $entry (@{ $self->controller->data }) {
# Search first order
if ($entry->{raw_data}->{datatype} eq $self->settings->{'order_column'}) {
# initialize lookup hash if not already done
if ($self->is_multiplexed && ! defined $self->_row_header ) {
- $self->_row_header({ pairwise { $a->{row_ident} => $b } @{ $self->profile }, @{ $self->header } });
+ $self->_row_header({ pairwise { no warnings 'once'; $a->{row_ident} => $b } @{ $self->profile }, @{ $self->header } });
}
if ($self->is_multiplexed) {
# initialize lookup hash if not already done
if ($self->_csv->is_multiplexed && ! defined $self->_row_spec ) {
- $self->_row_spec({ pairwise { $a->{row_ident} => $b } @{ $self->_csv->profile }, @{ $self->_specs } });
+ $self->_row_spec({ pairwise { no warnings 'once'; $a->{row_ident} => $b } @{ $self->_csv->profile }, @{ $self->_specs } });
}
if ($self->_csv->is_multiplexed) {