1CGI::Ex::App::ConstantsU(s3e)r Contributed Perl DocumentaCtGiIo:n:Ex::App::Constants(3)
2
3
4

NAME

6       CGI::Ex::App::Constants - Easier access to magic App values
7

SYNOPSIS

9           use base qw(CGI::Ex::App);
10           use CGI::Ex::App::Constants; # load all
11           use CGI::Ex::App::Constants qw(:App); # also load all
12           use CGI::Ex::App qw(:App); # also load all
13
14           __PACKAGE__->navigate;
15
16           sub main_run_step {
17               my $self = shift;
18
19               $self->cgix->print_content_type;
20               print "Hello world\n";
21
22               return App__run_step__request_completed;
23           }
24
25
26           # you can request only certain tags
27           use CGI::Ex::App::Constants qw(:App__run_step);
28           use CGI::Ex::App qw(:App__run_step);
29
30           # you can request only certain constants
31           use CGI::Ex::App::Constants qw(App__run_step__request_completed);
32           use CGI::Ex::App qw(App__run_step__request_completed);
33

CONSTANTS

35       To see a list of the importable tags type:
36
37          perl -MCGI::Ex::App::Constants -e 'CGI::Ex::App::Constants::tags()'
38
39       To see a list of the importable constants type:
40
41          perl -MCGI::Ex::App::Constants -e 'CGI::Ex::App::Constants::constants()'
42
43       To see a little more discussion about the hooks and other CGI::Ex::App
44       options type:
45
46          perl -MCGI::Ex::App::Constants -e 'CGI::Ex::App::Constants::details()'
47
48
49
50perl v5.30.0                      2019-07-26        CGI::Ex::App::Constants(3)
Impressum