Hi, I have a simple code below, ################################### #!/usr/bin/perl
use strict;
use warnings;
my @list =( '/usr/data/logs' , '/usr/data1/logs');
foreach (@list)
{
print "$_ \n";
system "(/usr/bin/find "$_" -mtime 3 -print -exec ls '{}' \;)";
}
################################################
I am not sure how to get the $_ value inside the system command, any tips
would be most helpful.
Kind Regards
Sj
