I'll confess that I didn't know about Data::Dumper for a long time but when I discovered it my programming experience was transformed. It will print out the structure of practically everything you throw at it, even objects. So many problems involve data not being what you think it is. A godsend.