Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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]
[robby_dobby]: huh.. What's an android app with GUI?
[choroba]: or, what's an android app without GUI?
[marto]: Tinc for android is not the same as Tinc for linux
[marto]: code you write/port that runs via the terminal?
[robby_dobby]: guess I have to take a look at it off-work. I don't understand what those words mean, honestly :-)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2018-01-17 14:53 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (201 votes). Check out past polls.