You also repeatedly call printLog() but your sub is named prinLog.
In reply to Re: Compilation error in the perl script by 1nickt in thread Compilation error in the perl script by shroh