Revision a54fc392
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Helper/Csv/Dispatcher.pm | ||
---|---|---|
78 | 78 |
$self->unknown_column($col, undef); |
79 | 79 |
} |
80 | 80 |
} else { |
81 |
push @specs, $self->make_spec($col, $profile->{$col} || $col); |
|
81 |
if (exists $profile->{$col}) { |
|
82 |
push @specs, $self->make_spec($col, $profile->{$col}); |
|
83 |
} else { |
|
84 |
push @specs, $self->make_spec($col, $col); |
|
85 |
} |
|
82 | 86 |
} |
83 | 87 |
} |
84 | 88 |
|
... | ... | |
91 | 95 |
my ($self, $col, $path) = @_; |
92 | 96 |
|
93 | 97 |
my $spec = { key => $col, steps => [] }; |
98 |
|
|
99 |
return unless $path; |
|
100 |
|
|
94 | 101 |
my $cur_class = $self->_csv->class; |
95 | 102 |
|
96 | 103 |
return unless $cur_class; |
Auch abrufbar als: Unified diff
Helper::Csv: Support für leere profile.path Angaben und case_insensitive_header