line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Context::BEM::Block::Page; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# Created on: 2013-11-04 16:45:13 |
4
|
|
|
|
|
|
|
# Create by: Ivan Wills |
5
|
|
|
|
|
|
|
# $Id$ |
6
|
|
|
|
|
|
|
# $Revision$, $HeadURL$, $Date$ |
7
|
|
|
|
|
|
|
# $Revision$, $Source$, $Date$ |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
781
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
10
|
1
|
|
|
1
|
|
4771
|
use namespace::autoclean; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
10
|
|
11
|
1
|
|
|
1
|
|
54
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
12
|
1
|
|
|
1
|
|
50
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
13
|
1
|
|
|
1
|
|
4
|
use Scalar::Util; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
61
|
|
14
|
1
|
|
|
1
|
|
4
|
use List::Util; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
15
|
1
|
|
|
1
|
|
4
|
use Data::Dumper qw/Dumper/; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
16
|
1
|
|
|
1
|
|
4
|
use English qw/ -no_match_vars /; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
11
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
extends 'Data::Context::BEM::Block'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
our $VERSION = version->new('0.0.4'); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Data::Context::BEM::Block::Page - An example BEM block handler |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This documentation refers to Data::Context::BEM::Block::Page version 0.0.4 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 SYNOPSIS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
use Data::Context::BEM::Block::Page; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
# Brief but working code example(s) here showing the most common usage(s) |
41
|
|
|
|
|
|
|
# This section will be as far as many users bother reading, so make it as |
42
|
|
|
|
|
|
|
# educational and exemplary as possible. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
There are no known bugs in this module. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Please report problems to Ivan Wills (ivan.wills@gmail.com). |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Patches are welcome. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHOR |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Ivan Wills - (ivan.wills@gmail.com) |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). |
71
|
|
|
|
|
|
|
All rights reserved. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify it under |
74
|
|
|
|
|
|
|
the same terms as Perl itself. See L<perlartistic>. This program is |
75
|
|
|
|
|
|
|
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
76
|
|
|
|
|
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
77
|
|
|
|
|
|
|
PARTICULAR PURPOSE. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=cut |