RECENT POSTS

P5-data-dumper

May 26, 2018

Stringified perl data structures, suitable for both printing and eval

Given a list of scalars or reference variables, writes out their contents in perl syntax. The references can also be objects. The contents of each variable is output in a single Perl statement. Handles self-referential structures correctly.

The return value can be evaled to get back an identical copy of the original reference structure.

WWW http//search.cpan.org/dist/Data-Dumper/