in reply to Re^7: Authen::Krb5 Problem
in thread Authen::Krb5 Problem

That would work better if you did something like
my $permissions = `ls -l`; print LOGFILE $permissions;
from your foo.pl, from cron, not from console