Net::APNS - Apple Push Notification Service for perl.
use Net::APNS; my $APNS = Net::APNS->new; my $Notifier = $APNS->notify({ cert => "cert.pem", key => "key.pem", passwd => "pass" }); $Notifier->devicetoken("...."); $Notifier->message("message"); $Notifier->badge(4); $Notifier->write; =head1 DESCRIPTION
Net::APNS is Apple Push Notification Service. Push message to iPhone and get unavalble-devicetoken.
haoyayoi <st.hao.yayoi@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::APNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::APNS
CPAN shell
perl -MCPAN -e shell install Net::APNS
For more information on module installation, please visit the detailed CPAN module installation guide.