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.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ