in reply to Re: Log::Dispatch::FileRolling ?
in thread Log::Dispatch::FileRolling ?

Aah! I knew it should be simple error.
I was using Proc::Daemon within the script, with this enable the script did not show the error, I should have commented it out.

Thanks for catching the error. The code works now.