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


in reply to printing variable and evaluation

Did you try Data::Dx (recently added to CPAN)?

It's a "named dumping" wrapper around Data::Dump, but it uses keywords, rather than source filters, so it's inherently much safer.