in reply to calling problem in script

printf "log files = \n"; print @log_paths; printf "\n";

Your printf format strings do not have any conversion specifications and therefore you don't really need printf and should probably just be using print instead:

print "log files = \n", @log_paths, "\n";

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.