Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Golf: Tree searching

by tadman (Prior)
on Apr 20, 2001 at 08:36 UTC ( #74078=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub f{for($t=pop;$_=(0,l,r)[$$t{d}cmp$_[0]]and$t=$$t{$_};){}$t}
  2. or download this
    sub f{for($t=pop;$_=$$t{d}cmp$_[0]and$t=$$t{$_>0?l:r};){}$t}
  3. or download this
    sub f{for($t=pop;$_=$$t{d}cmp$_[0]and$t=$$t{$_};){}$t}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-07-13 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (249 votes), past polls