line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OpenSocial::Client::Type::Format; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
6
|
use base 'Exporter'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
98
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our @EXPORT_OK = qw(JSON XML ATOM); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6
|
use constant JSON => 0; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
53
|
|
11
|
1
|
|
|
1
|
|
6
|
use constant XML => 1; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
48
|
|
12
|
1
|
|
|
1
|
|
6
|
use constant ATOM => 2; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
65
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
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 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, Elyo.kato@gmail.comE |
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
|
|
|
|
|
|
|
|