Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Get the Smallest Number

by si_lence (Deacon)
on Aug 11, 2009 at 12:36 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-28 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found