on Sat, 11 May 2002 01:55:06 GMT, Jake wrote: > foreach $person(@people){ > if($person=="otherPer"){ > $seeList .= $newGuy; > }else{ > $seeList .= $person.","; > } > }
'==' is used for *numerical* comparisons. If you want to compare strings, use 'eq'. You also might want to take a look at the 'join' function. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]