in reply to folding Data::Dumper output

Try

foldmethod=indent

and maybe switch to Data::Dump (or not).

(Based on a simple fake structure.)

Replies are listed 'Best First'.
Re^2: folding Data::Dumper output
by perlancar (Hermit) on Dec 19, 2018 at 11:27 UTC
    Or maybe Data::Dump::Color :-) (I find colors generally helpful, plus the module produces other visual aids like: array index, hash key index, and depth indicator.)