Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Finding the max()/min()

by tmoertel (Chaplain)
on Nov 11, 2004 at 05:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://406927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found