line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#This is a -*- perl -*- module file |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Copyright (c) 2007-2015 Salve J. Nilsen |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
536
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Acme::Godot; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
439
|
use version; our $VERSION = version->parse(0.1.10)->numify; |
|
1
|
|
|
|
|
1421
|
|
|
1
|
|
|
|
|
9
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
BEGIN { |
13
|
1
|
|
|
1
|
|
161
|
eval { |
14
|
|
|
|
|
|
|
sub _waiting_for_godot { |
15
|
1
|
|
|
1
|
|
4997553
|
sleep 60 * 60 * 24; # Act 1 - the first day |
16
|
1
|
|
|
|
|
34
|
sleep 60 * 60 * 24 * 365; # Intermission. Get your snacks! |
17
|
0
|
|
|
|
|
0
|
sleep 60 * 60 * 24; # Act 2 - the second day |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _godot_has_arrived { |
21
|
1
|
|
|
1
|
|
4
|
0; # Nowhere to be seen. |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
4
|
PLAY: while (!_godot_has_arrived()) { |
26
|
1
|
|
|
|
|
2
|
_waiting_for_godot(); |
27
|
0
|
0
|
|
|
|
0
|
redo PLAY unless _godot_has_arrived(); |
28
|
|
|
|
|
|
|
} continue { |
29
|
0
|
|
|
|
|
0
|
exit; # Rejoice, Godot is here! Let's get outta here. |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; # End of Acme::Godot |
35
|
|
|
|
|
|
|
__END__ |