CGI::Builder::Const - Deprecated


CGI-Builder documentation Contained in the CGI-Builder distribution.

Index


Code Index:

NAME

Top

CGI::Builder::Const - Deprecated

DESCRIPTION

Top

Deprecated module.

SUPPORT

Top

See "SUPPORT" in CGI::Builder.

AUTHOR and COPYRIGHT

Top


CGI-Builder documentation Contained in the CGI-Builder distribution.

use strict ;

# This file uses the "Perlish" coding style
# please read http://perl.4pro.net/perlish_coding_style.html

; package CGI::Builder::Const

; our @phase

; BEGIN
   { @phase  = qw | CB_INIT
                    GET_PAGE
                    PRE_PROCESS
                    SWITCH_HANDLER
                    PRE_PAGE
                    PAGE_HANDLER
                    FIXUP
                    RESPONSE
                    REDIR
                    CLEANUP
                  |
   ; my %h
   ; @h{@phase} = (0 .. $#phase)
   ; while ( my ($k, $v) = each %h )
      { no strict 'refs'
      ; *$k = sub () { $v }
      }
   }

; require Exporter
; our @ISA = 'Exporter'
; our @EXPORT_OK   = ( @phase )
; our %EXPORT_TAGS = ( all      => \@phase
                     , phases   => \@phase
                     )
                     
; 1

__END__