Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: code optimization

by pvaldes (Chaplain)
on Nov 03, 2011 at 18:10 UTC ( #935734=note: print w/replies, xml ) Need Help??


in reply to code optimization

I'll enter a while loop, split each line to two numbers, then do the division and push the result to an array, then you can use List::Util qw/min/ on this array...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935734]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2018-07-20 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (439 votes). Check out past polls.

    Notices?