in reply to Using Perl script to scan SQL 2005 error log
It will be difficult to diagnose your problem if you don't give an example of the error message or some other indication of how your script fails with SQL 2005