in reply to 2d arrays in Perl?

Soo close...

Instead of
@thePupils[23]->{"ClassID"} = "99-A";

try:
$thePupils[23]->{"ClassID"} = "99-A";

I'm not claiming this to be the most efficent or elegant solution, but there you go...

SMiTZ