| 1 | package Net::OpenSocial::Client::Type::Format; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our @EXPORT_OK = qw(JSON XML ATOM); | |
| 9 | |||
| 10 | 1 | ▶ | use constant JSON => 0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use constant XML => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use constant ATOM => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | 1; | |
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Net::OpenSocial::Client::Type::Format - Constants for format-type | ||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | use Net::OpenSocial::Client::Type::Auth qw(JSON XML ATOM); | ||
| 23 | say JSON; | ||
| 24 | say XML; | ||
| 25 | say ATOM; | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | Constants for format-type. | ||
| 30 | But current version of Net-OpenSocial-Client doesn't support XML and ATOM format. | ||
| 31 | |||
| 32 | =head1 VALUES | ||
| 33 | |||
| 34 | =over 4 | ||
| 35 | |||
| 36 | =item JSON | ||
| 37 | |||
| 38 | use JSON encoder/decoder. | ||
| 39 | See L<Net::OpenSocial::Client::Formatter::JSON> for more detail. | ||
| 40 | |||
| 41 | =item XML | ||
| 42 | |||
| 43 | use XML encoder/decoder. | ||
| 44 | Now not supported. | ||
| 45 | |||
| 46 | =item ATOM | ||
| 47 | |||
| 48 | Atom Syndication Format. | ||
| 49 | Now not supported. | ||
| 50 | |||
| 51 | =back | ||
| 52 | |||
| 53 | =head1 AUTHOR | ||
| 54 | |||
| 55 | Lyo Kato, E<lt>lyo.kato@gmail.comE<gt> | ||
| 56 | |||
| 57 | =head1 COPYRIGHT AND LICENSE | ||
| 58 | |||
| 59 | Copyright (C) 2009 by Lyo Kato | ||
| 60 | |||
| 61 | This library is free software; you can redistribute it and/or modify | ||
| 62 | it under the same terms as Perl itself, either Perl version 5.8.8 or, | ||
| 63 | at your option, any later version of Perl 5 you may have available. | ||
| 64 | |||
| 65 | =cut | ||
| 66 | |||