line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::Time::Donut; |
2
|
1
|
|
|
1
|
|
23376
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
BEGIN { |
5
|
1
|
|
|
1
|
|
5
|
use Exporter(); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
17
|
|
6
|
1
|
|
|
1
|
|
5
|
use vars qw(@ISA @EXPORT $times); |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
79
|
|
7
|
1
|
|
|
1
|
|
528
|
use Acme::Time::FooClock; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
60
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
15
|
@ISA = qw( Exporter ); |
10
|
1
|
|
|
|
|
2
|
@EXPORT = qw( donuttime); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
|
|
53
|
$times = [ |
13
|
|
|
|
|
|
|
'Glazed Donut', 'Chocolate Bar', 'Cinnamon Roll', 'Cheese & Strawberry Danish', |
14
|
|
|
|
|
|
|
'Glazed Twist', 'Powdered Sugar Donut', 'Bear Claw', 'Blueberry Muffin', |
15
|
|
|
|
|
|
|
'Maple Donut', 'Chocolate Donut w/Peanuts', 'Plain Old Fashioned', 'Apple Turnover' |
16
|
|
|
|
|
|
|
]; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Acme::Time::Donut - Donut time!! |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 SYNOPSIS |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
use Acme::Time::Donut; |
26
|
|
|
|
|
|
|
print dounttime("5:38"); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
See Acme::Time::Asparagus and Acme::Time::FooClock for more details. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Buy your donut clock at http://www.sushiclock.com/donut.html |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# sub donuttime {{{ |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub donuttime { |
37
|
6
|
|
|
6
|
0
|
26
|
return Acme::Time::FooClock::time(shift); |
38
|
|
|
|
|
|
|
} # }}} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
'mmmm, donuts'; |