Another use of Data::Dumper is
persistent storage.
If you want to reuse your variable a few days later
in another program,
you apply Data::Dumper to the variable, and you print
the result into a file, or you store it into a database.
Then, in the next program, a few days later, you just
do the file (or you eval the result
of the database query), and your second program can
use the value computed by the first program.
There are other modules to get persistency: Storable,
Freezethaw, but their output is not human-readable.