WWW::Google::C2DM::Constants - constants used for C2DM
# export all use WWW::Google::C2DM::Constants; # same as `use WWW::Google::C2DM::Constants qw(:all)` # export error code only use WWW::Google::C2DM::Constants qw(:error_code); # do something... my $res = $c2dm->send(...); if ($res->is_error && $res->error_code eq NotRegistered) { ... }
WWW::Google::C2DM::Constants is some constants for C2DM.
# error code for C2DM QuotaExceeded DeviceQuotaExceeded MissingRegistration InvalidRegistration MismatchSenderId NotRegistered MessageTooBig MissingCollapseKey
xaicron <xaicron@cpan.org>
Copyright 2012 - xaicron
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Google::C2DM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Google::C2DM
CPAN shell
perl -MCPAN -e shell install WWW::Google::C2DM
For more information on module installation, please visit the detailed CPAN module installation guide.