Revision f893eda3
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
SL/CA.pm | ||
---|---|---|
42 | 42 |
|
43 | 43 |
my ($self, $myconfig, $form) = @_; |
44 | 44 |
|
45 |
my $amount = ();
|
|
45 |
my %amount;
|
|
46 | 46 |
|
47 | 47 |
# connect to database |
48 | 48 |
my $dbh = $form->dbconnect($myconfig); |
... | ... | |
65 | 65 |
$sth = $dbh->prepare($query); |
66 | 66 |
$sth->execute || $form->dberror($query); |
67 | 67 |
|
68 |
my $gifi = ();
|
|
68 |
my %gifi;
|
|
69 | 69 |
while (my ($accno, $description) = $sth->fetchrow_array) { |
70 | 70 |
$gifi{$accno} = $description; |
71 | 71 |
} |
Auch abrufbar als: Unified diff
Lokale Hashes richtig deklarieren.