or download this
use strict;
use warnings;
...
and for QnA failure the line comes like this in place of success line-
+-
Tue May 19 22:56:21.962 2009 Morocco Standard Time INFO: pid 2172 t
+id 688: 160: 10083554: Err[115261735], Message: QNA Auth Failed(Inval
+id Credentials), Repeating the challenge and Returning FAILED