- or download this
#!/usr/bin/perl
use strict;
...
close $infile;
print Dumper(\%students);
- or download this
$VAR1 = {
'Smith Tom' => {
...
'f4' => 'Fr'
}
};
- or download this
for my $student (sort {$students{$a}{id} <=> $students{$b}{id}} keys %
+students) {
print "$student => $students{$student}{id}\n";
}