Subject: | sub api keeps retrying API requests until it hits retrylimit |
It seems that the module will, regardless of whether or not a request
succeeds, repeat the foreach loop until it hits $retries. You probably
want an } else { last; } on the if ($@) statement?