First capture the Data::Dumper output in a string, then prepend the timestamp:
my $message= Dumper $myvar; $message=~ s!^!$timestamp !mg; print $message;
In reply to Re^3: Appending time to each line
by Corion
in thread Appending time to each line
by ajose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |