line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Nothing::Tiny; |
2
|
1
|
|
|
1
|
|
53685
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Nothing::Tiny - a module that does nothing, albeit with no accessor |
10
|
|
|
|
|
|
|
overhead or non-core dependencies |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Sometimes modules with actual functionality are too slow or use too |
15
|
|
|
|
|
|
|
much memory. C aims to balance features with memory |
16
|
|
|
|
|
|
|
usage by doing nothing in the smallest amount of space possible. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Here's how to use it: |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
use Nothing::Tiny; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Now you've done nothing, all while not adding any non-core |
23
|
|
|
|
|
|
|
dependencies to your application! Tinylicious! |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 AUTHOR |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Jonathan Rockway C<< >> |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 COPYRIGHT |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This module is free of software. You may redistribute it under the |
32
|
|
|
|
|
|
|
same terms as Perl itself. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |