I've/m never used/ing "elseif" ( i hate it :") from the time I have to edit a perl script of other person that had 25 pages non-stop if-elsif sequence) ... never mind there is two conditions in your example... of coruse i've think of this just like a shortcut nothing special ... later on : $x = cond ? $then : $else : $otherwise;#at least this is a good shortcut :") > What's the point, you can accomplish the same with if/elsif/else. Maybe I'm > not understanding this correctly, but > > if (cond) > {} > elsif (cond) > {} > else > {} > > Ilya
- if then else otherwise ... raptor
- Re: if then else otherwise ... Michael G Schwern
- RE: if then else otherwise ... Sterin, Ilya
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... David Grove
- RE: if then else otherwise ... Sterin, Ilya
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... David Grove
- Re: if then else otherwise ... John Porter
- Re: if then else otherwise ... Bart Lateur
- Re: if then else otherwise ... John Porter
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... Bart Lateur