in reply to Re: Conditional Operator Confusion
in thread Conditional Operator Confusion
Hey! The camel book told me it was just like an if-else (well, sort of). Hmm, I must admit that I'm still slightly in the dark here - none of the examples given so far help me understand exactly what is going on...
Tom Melly, pm@tomandlu.co.ukmap{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e** 2-$d**2+$b);$c=$d**2+$e**2>4?_:0}1..99;print$c}0..59;print$/}0..20;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Conditional Operator Confusion
by Herkum (Parson) on Nov 30, 2006 at 16:44 UTC | |
by Melly (Chaplain) on Nov 30, 2006 at 17:03 UTC | |
by ikegami (Patriarch) on Nov 30, 2006 at 17:12 UTC | |
by Melly (Chaplain) on Nov 30, 2006 at 17:25 UTC |
In Section
Seekers of Perl Wisdom