in reply to Data::Dumper(::Simple) is your friend

For web applications, printing to the STDERR helpful, as in you could tail the error log while you execute a cgi:
print STDERR Dumper($foo);