I'm using a module (Mail::Audit) that returns a reference to an array of lines. I can't figure out to print out or gain access to the lines being referenced. I'm tried writing the below code with no luck. Any suggestions?
#@body is the reference to the array of lines
my @body=$item->body;
print @body;
#also tried
foreach my $line (@body){
print $line;
}