My chapter 10 work

You could have used the // operator here:
`printf "%-20s %s\n", $key, $ENV{$key} // 'Nothing here';`