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