Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Finding the max()/min()

by tmoertel (Chaplain)
on Nov 11, 2004 at 05:12 UTC ( #406927=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        sub make_max_finder {
            my $max;
    ...
                $max;
            }
        }
    
  2. or download this
        make_max_finder->(1..10); # 10
    
  3. or download this
        my $max_finder = make_max_finder();
        $max_finder->($_) while <>;
        $max_finder->();  # retrieve maximum
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-07 15:59 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 (91 votes), past polls