in reply to "Safe" print?

use Data::Dumper; my $val = 'something'; print Dumper(\$val);
There is also Data::Printer or Data::Dump and similar.