1App::Rad::Exclude(3) User Contributed Perl Documentation App::Rad::Exclude(3)
2
3
4
6 App::Rad::Exclude - 'exclude' command extension for App::Rad
7
9 Version 0.01
10
12 'exclude' is an opt-in command for you App::Rad programs (myapp.pl):
13
14 use App::Rad qw(exclude); # add the 'exclude' command
15 App::Rad->run();
16
17 sub mycmd {
18 print "hello, world\n";
19 }
20
21 and now you can permanently remove a command from your application
22
23 [user@host]$ myapp.pl exclude mycmd
24
25 Note that this *will* edit the program's source code and try to remove
26 the command (subroutine) automatically, so use it with extreme caution.
27
29 This is an internal module for App::Rad and should not be used
30 separately. Please refer to App::Rad for further documentation.
31
33 load
34 Loads the module into App::Rad
35
36 exclude
37 Removes given command (subroutine) from your App::Rad program.
38
40 ยท Carp, which is core in Perl 5.8.
41
43 Breno G. de Oliveira, "<garu at cpan.org>"
44
46 Copyright 2008 Breno G. de Oliveira "<garu at cpan.org>". All rights
47 reserved.
48
49 This module is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself. See perlartistic.
51
53 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
54 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
55 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
56 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
57 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
58 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
59 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
60 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
61 NECESSARY SERVICING, REPAIR, OR CORRECTION.
62
63 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
64 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
65 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
66 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
67 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
68 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
69 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
70 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
71 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
72 DAMAGES.
73
74
75
76perl v5.30.0 2019-07-26 App::Rad::Exclude(3)