or download this
# 3. What is the value of "$portresults->{portfolio}->{riskgrade}"?
print "port ", $portresults->{portfolio}->{riskgrade}, "\n";
...
# 4. What is the first element of "sort {lc($b) cmp lc($a)} keys %{$po
+rtresults}" ?
@ary = sort {lc($b) cmp lc($a)} keys %{$portresults};
print "sort: $ary[0]\n";