The Perl data structures and objects pretty printer Data::Printer would trim strings longer than 4096 characters (this is the default value).
This is something that can be parameterized in the ~/.dataprinter file:
# No limit!
string_max = 0
This default is sensible, though, because you usually don't want the program output to fill with too much text.
It might be necessary to change this value, only in a specific place. You can pass a false value to string_max to display the whole string fields:
p $object_with_long_string_values, string_max => 0;
More information can be found in the module Customization section, along with all the available configuration parameters.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Top comments (0)