Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: How can one call the lowest value of an array by reference?

by Kenosis (Priest)
on Dec 12, 2012 at 08:34 UTC ( #1008470=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use Modern::Perl;
    say "Positions of Lowest Value ($lowest) = @{$hash{$lowest}}";
    print 'The animal names are: ';
    print join ' ', map $names[$_], @{$hash{$lowest}};
  2. or download this
    Positions of Lowest Value (2) = 2 4
    The animal names are: Cow Rat

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (21)
As of 2015-11-30 21:08 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (783 votes), past polls