Revision 1464e864
Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt
SL/Controller/CsvImport/Project.pm | ||
---|---|---|
32 | 32 |
|
33 | 33 |
$self->controller->track_progress(phase => 'building data', progress => 0); |
34 | 34 |
|
35 |
my $i; |
|
35 |
my $i = 0;
|
|
36 | 36 |
my $num_data = scalar @{ $self->controller->data }; |
37 | 37 |
foreach my $entry (@{ $self->controller->data }) { |
38 | 38 |
$self->controller->track_progress(progress => $i/$num_data * 100) if $i % 100 == 0; |
Auch abrufbar als: Unified diff
CSV-Importe: Warnungen wegen nicht initialisierter Variable vermeiden