On 2011.04.11. 9:46, Szládovics Péter wrote: >> Ellenben van benne pl. ilyen részlet: >> if ($mailertype eq "Internet Site") { >> if ($mailname eq $hostname) { >> $destinations = join ", ",($mailname, "localhost." . $domain, ", >> localhost"); >> } else { >> $destinations = join ", ",($mailname, $hostname, "localhost." . >> $domain . ", localhost"); >> } >> > > Amit beidéztél, az csak annyit tesz, hogy ha a hostname és a mailname > azonos, akkor nem tesz két azonos értéket a destination sorba. Semmi > mást nem csinál, nem bírál fölül semmit... (mivel join).
A föld pedig kietlen és puszta vala, és setétség vala a mélység színén, és az Isten Lelke lebeg vala a vizek felett. És monda Isten: Legyen világosság: join EXPR,LIST Joins the separate strings of LIST into a single string with fields separated by the value of EXPR, and returns that new string. -- Gabor HALASZ <halas...@freemail.hu> _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux