Eliminate one level of 'if'.

This code:

  if (defined($name) and length($name)) {

... was unnecessary, as we have already guaranteed that \$name is defined and
of non-zero length before it is passed to _dump.