2 |
## $Id$ |
## $Id$ |
3 |
## --------------------------------------------------------------------------- |
## --------------------------------------------------------------------------- |
4 |
## $Log$ |
## $Log$ |
5 |
|
## Revision 1.2 2003/04/09 07:46:55 joko |
6 |
|
## dunno |
7 |
|
## |
8 |
## Revision 1.1 2003/04/08 23:09:16 joko |
## Revision 1.1 2003/04/08 23:09:16 joko |
9 |
## initial commit: code from perl/libs/libdb.pm |
## initial commit: code from perl/libs/libdb.pm |
10 |
## |
## |
76 |
push @fields, $key; |
push @fields, $key; |
77 |
push @values, $hash->{$key}; |
push @values, $hash->{$key}; |
78 |
} |
} |
79 |
|
|
80 |
# quote each element |
# quote each element |
81 |
map { if (defined $_) { $_ = "'$_'" } else { $_ = "null" } } @values; |
map { if (defined $_) { $_ = "'$_'" } else { $_ = "null" } } @values; |
82 |
|
|