References and Nested Data Structures

Debugging nested data structures

The complexity of Perl’s dereferencing syntax combined with the potential for confusion with multiple levels of references can make debugging nested data structures difficult. The core module Data::Dumper converts values of arbitrary complexity into strings of Perl code, which helps us visualize what we have:

Get hands-on with 1200+ tech skills courses.