Re: string retrieval issue



Ben Morrow schreef:
mbliven1:

if ($formvalue eq "") {
@final[$i] = @splitdata[$i];
}
else {
@final[$i] = $formvalue;
}

This can be written more simply as

$final[$i] = $formvalue || $splitdata[$i];

Unless $formvalue can be "0".

--
Affijn, Ruud

"Gewoon is een tijger."
.