Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Get the Smallest Number

by si_lence (Deacon)
on Aug 11, 2009 at 12:36 UTC ( #787599=note: print w/replies, xml ) Need Help??

in reply to Get the Smallest Number

I don't see an array in your data structure at all. It looks more like part of a 'Hash of Hashes'.
You first need access the data you are interested in (maybe using two nested foreach keys) and then split the string by |, capturing the number of interest and find the min.
If you show the code you have so far it would be much easier to provide you with more specific help.
cheers, si_lence

Replies are listed 'Best First'.
Re^2: Get the Smallest Number
by Anonymous Monk on Aug 11, 2009 at 15:17 UTC
    Why even if you have these two values at the end the IF statement still does work?
    if( 55.05 <= 0.00){ print "OK\n"; }else{ print "No\n"; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://787599]
[Discipulus]: we are experiencing a Tk revival? this also awaken zentara from his meditations..

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-04-20 07:20 GMT
Find Nodes?
    Voting Booth?