http://www.perlmonks.org?node_id=540228


in reply to Re: .vimrc for perl programmers
in thread .vimrc for perl programmers

Youll get more accurate results on self referential structures by using

warn Data::Dumper->Dump(sub{\@_}->(\@myarray), ['myarray'])

it doesnt make that much difference when the example is an array, but when its a scalar it does make a lot of difference.

Alternatively install Data::Dump::Streamer and get prettier, easier to read and more accurate dumps outright.

Yes, this is a shameless plug. :-)

---
$world=~s/war/peace/g