Subject: | UseSSL bug during initialisation |
I have been looking at using your perl module Net::Clickatell 0.10. I
wrote some module tests to check the functionality and I noticed a
couple of bugs.
In 'new' the BASE_URL is always set to https even if UseSSL is set to zero.
The condition
'if (exists $args{UseSSL})' should read 'if ($args{UseSSL})'.
sendSIWAPPush uses a routine 'getTime' which is not defined.
sendMMNotification defines a variable $tranid which is never used.
I have attached the module test file which shows the BASE_URL bug, feel
free to include the tests with the module distribution if you wish. You
need to have Test::MockModule installed to complete all of the tests.
I am running it on Activestate perl 5.8.8 817 under windows XP.
Subject: | 01netClickatell.t |
Message body is not shown because it is too large.