in reply to making dumper to align perfectly

Show us exactly what you want your output to look like. It looks pretty good to me.

Data::Dumper has (too) many options. Read The Fine Manual, and see if you can convince it to do what you want.

There are alternatives: How can I visualize my complex data structure?

Replies are listed 'Best First'.
Re^2: making dumper to align perfectly
by Anonymous Monk on Oct 14, 2009 at 13:21 UTC
    I want it like
    My hash-> $VAR1 = { 'a' => '1', 'b' => [ 1, 2 ] };