If using Data::Dumper as above, you will not have a descriptive name for the array. While this is not a problem when printing one variable, it can be when printing more. So, instead:
@a=(1,2,3);
$b= [ 4,5,6 ];
use Data::Dumper;
Data::Dumper->Dump([\@a,$b],['a','b'])