in reply to Hash table manipulation
I have a hash with keys and values stored in it. The keys are floating point numbers(i.e 0.423.0.523 etc).This tells me enough to conclude that you're using the wrong data structure.
i want only the values greater than 0.4Even more evidence you don't really want Perl hashes. IMO this is more suitable for what you're after:
You can use grep to extract the tuples that match your requirements.@data = ( [ 0.423, 'http://google.com/' ], [ 0.523, 'http://bing.com/' ], );
|
|---|