typester/anyevent-apns-perl — pull request #3 by i110 (2013-02-28 08:29:13+00:00)
Title: Bug fix: casting badge number into integer doesn't work

The following line is almost unuseful because this will be done after encoding payload to JSON.
> $payload->{aps}{badge} += 0
So, bring this to the first of the method (before encoding)