Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Finding Minimum Value

by hdb (Monsignor)
on Sep 22, 2014 at 05:27 UTC ( [id://1101483]=note: print w/replies, xml ) Need Help??


in reply to Finding Minimum Value

In addition to what was said above, $grade{$id,$exam} does not do what you expect. Try $grade{$id}{$exam} to create a two-dimensional data structure.

Replies are listed 'Best First'.
Re^2: Finding Minimum Value
by LanX (Saint) on Sep 22, 2014 at 09:17 UTC
    See also Multi dimensional array emulation in Perldata

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

    update

    IMHO that's a misnomer, cause its a multidim HASH emulation.

    May be a case where originally a "associative array" was meant, but the terminology should be consistent.

Re^2: Finding Minimum Value
by choroba (Cardinal) on Sep 22, 2014 at 08:06 UTC
    It might work. See $; in perlvar.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-23 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found