2 |
## $Id$ |
## $Id$ |
3 |
## -------------------------------------------------------------------------------- |
## -------------------------------------------------------------------------------- |
4 |
## $Log$ |
## $Log$ |
5 |
|
## Revision 1.7 2004/07/07 03:13:43 joko |
6 |
|
## minor fix for "sub isEmpty" |
7 |
|
## |
8 |
## Revision 1.6 2004/05/12 13:53:19 jonen |
## Revision 1.6 2004/05/12 13:53:19 jonen |
9 |
## + bugfix related to declaration of arrays, |
## + bugfix related to declaration of arrays, |
10 |
## solved error: 'Bizarre copy of ARRAY in aassign at...' |
## solved error: 'Bizarre copy of ARRAY in aassign at...' |
159 |
return $empty; |
return $empty; |
160 |
#return 0; |
#return 0; |
161 |
|
|
162 |
} else { |
# check for empty string |
163 |
|
} elsif (defined $var) { |
164 |
$found = 1; |
$found = 1; |
165 |
return 0 if defined $var; |
return 0 if $var ne ''; |
166 |
} |
} |
167 |
|
|
168 |
if (!$found) { |
if (!$found) { |