Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Precedence for Idiots

by Melly (Hermit)
on Dec 01, 2006 at 16:26 UTC ( #587229=note: print w/ replies, xml ) Need Help??


in reply to Re: Precedence for Idiots
in thread Precedence for Idiots

I agree with 1.5 of your main 2 points - I must admit that my personal jury is still out on ?: vs. if/else/etc. - and I definitely agree that the tutorial needs expanding to include, e.g., precedence for 'and' and '&&', etc. if the title is to be appropriate.

Thanks for the comments - not harsh at all.

map{$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?$d=8:_}1..50;print$c}0..59;print$/}0..20
Tom Melly, pm@tomandlu.co.uk


Comment on Re^2: Precedence for Idiots
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587229]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-28 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls