Help for this page
${ $log_msg } = join("", @lines); return; # i changed this to my $data =join("",@lines); return $data;