My requirement is to process all the files of .log type owned by the execution user.
the below code is not working.
Thanks in advance...

```
#!/usr/bin/perl

$cmn_dir="/tmp";
my $USER = $ENV{'LOGNAME'};
print "user:$USER\n";
@ifile_log="find $cmn_dir -user $USER -type f -name \"*.log\"";
foreach $file(@ifile_log)
{
        print "file:$file\n";
}

```