Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 scrutinizing the Monastery: (12)
As of 2014-09-30 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (377 votes), past polls