line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::Cheats; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
64029
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
App::Cheats - Cheatsheet |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Version 0.06 |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 ENVIRONMENT |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
cheat expects to find a cheat* file somewhere |
22
|
|
|
|
|
|
|
in $CHEAT_DIRS. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
You can start with mine as an example: |
25
|
|
|
|
|
|
|
https://github.com/poti1/cheats/blob/main/cheats.txt |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Save it and set this variable: |
28
|
|
|
|
|
|
|
export CHEAT_DIRS="PATH_TO_CHEAT_DIRS" |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Optionally you can set this flag: |
31
|
|
|
|
|
|
|
--cheat_dirs "PATH_TO_CHEAT_DIRS" |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
If neither is provided, will search for a cheat |
34
|
|
|
|
|
|
|
file in the same location as this script. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Tim Potapov, C<< >> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 BUGS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
43
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
44
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SUPPORT |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
perldoc App::Cheats |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
You can also look for information at: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 4 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
L |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * CPAN Ratings |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
L |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * Search CPAN |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
L |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=back |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This software is Copyright (c) 2022 by Tim Potapov. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This is free software, licensed under: |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
1; # End of App::Cheats |