1package Gantry::State::Constants; 2 3use strict; 4use warnings; 5 6BEGIN { 7 use Exporter(); 8 use vars qw (@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); 9 10 @ISA = qw(Exporter); 11 @EXPORT_OK = qw(); 12 @EXPORT = qw ( 13 STATE_FINI 14 STATE_POST_ENGINE_INIT 15 STATE_PRE_INIT 16 STATE_INIT 17 STATE_POST_INIT 18 STATE_CACHED_PAGES 19 STATE_PRE_ACTION 20 STATE_ACTION 21 STATE_POST_ACTION 22 STATE_REDIRECT 23 STATE_DECLINED 24 STATE_SET_HEADERS 25 STATE_PRE_PROCESS 26 STATE_PROCESS 27 STATE_POST_PROCESS 28 STATE_CHECK_STATUS 29 STATE_OUTPUT 30 STATE_SEND_STATUS 31 ); 32 33 %EXPORT_TAGS = qw(); 34 35} 36 37use constant { 38 STATE_FINI => 0, 39 STATE_POST_ENGINE_INIT => 1, 40 STATE_PRE_INIT => 2, 41 STATE_INIT => 3, 42 STATE_POST_INIT => 4, 43 STATE_CACHED_PAGES => 5, 44 STATE_PRE_ACTION => 6, 45 STATE_ACTION => 7, 46 STATE_POST_ACTION => 8, 47 STATE_REDIRECT => 9, 48 STATE_DECLINED => 10, 49 STATE_SET_HEADERS => 11, 50 STATE_PRE_PROCESS => 12, 51 STATE_PROCESS => 13, 52 STATE_POST_PROCESS => 14, 53 STATE_CHECK_STATUS => 15, 54 STATE_OUTPUT => 16, 55 STATE_SEND_STATUS => 17 56}; 57 581; 59 60