line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Microformat::Element::hGrant; |
2
|
3
|
|
|
3
|
|
2711
|
use warnings; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
105
|
|
3
|
3
|
|
|
3
|
|
17
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
90
|
|
4
|
3
|
|
|
3
|
|
13
|
use base 'Text::Microformat::Element'; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
492
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
__PACKAGE__->_init({ |
7
|
|
|
|
|
|
|
criteria => { |
8
|
|
|
|
|
|
|
class => 'hgrant', |
9
|
|
|
|
|
|
|
}, |
10
|
|
|
|
|
|
|
schema => { |
11
|
|
|
|
|
|
|
title => [], |
12
|
|
|
|
|
|
|
period => [qw/dtstart dtend/], |
13
|
|
|
|
|
|
|
grantee => 'hCard', |
14
|
|
|
|
|
|
|
grantor => 'hCard', |
15
|
|
|
|
|
|
|
description => [], |
16
|
|
|
|
|
|
|
amount => [qw/currency amount/], |
17
|
|
|
|
|
|
|
url => 'URI', |
18
|
|
|
|
|
|
|
id => [], |
19
|
|
|
|
|
|
|
'geo-focus' => [qw/country region locality postal-code/], |
20
|
|
|
|
|
|
|
'program-focus' => { |
21
|
|
|
|
|
|
|
tags => '!rel-tag', |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
tags => '!rel-tag', |
24
|
|
|
|
|
|
|
}, |
25
|
|
|
|
|
|
|
}); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 NAME |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Text::Microformat::Element::hGrant - hGrant plugin for Text::Microformat |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SEE ALSO |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
L, L |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 AUTHOR |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Keith Grennan, C<< >> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 BUGS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Log bugs and feature requests here: L |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SUPPORT |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Project homepage: L |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Copyright 2007 Keith Grennan, all rights reserved. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
52
|
|
|
|
|
|
|
under the same terms as Perl itself. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
1; |