http://qs321.pair.com?node_id=1079745


in reply to dumping variables automatically with their name?

I use Data::Dumper->Dump( ARRAYREF, ARRAYREF ). You have to pass in the name, but it gives you what you're asking for:
use warnings; use strict; use Data::Dumper; my @data = (qw(foo bar bazz)); print Data::Dumper->Dump([\@data], ["data"]);
outputs:
$data = [ 'foo', 'bar', 'bazz' ];