MxScreen/Constant.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 11 Podpod 0.0% 0 / 8 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
MXSCREEN
2.0
PERSISTENT
2.0
CRAP 2.0
1 # -*- Mode: perl -*-
2 #
3 # $Id: Constant.pm,v 0.1 2001/04/22 17:57:03 ram Exp $
4 #
5 # Copyright (c) 1998-2001, Raphael Manfredi
6 # Copyright (c) 2000-2001, Christophe Dehaudt
7 #
8 # You may redistribute only under the terms of the Artistic License,
9 # as specified in the README file that comes with the distribution.
10 #
11 # HISTORY
12 # $Log: Constant.pm,v $
13 # Revision 0.1 2001/04/22 17:57:03 ram
14 # Baseline for first Alpha release.
15 #
16 # $EndLog$
17 #
18  
19 use strict;
20  
21 package CGI::MxScreen::Constant;
22  
23 use vars qw(@EXPORT);
24  
25 BEGIN{
26 # array indices
27 sub MXSCREEN () {0};
28 sub PERSISTENT () {1};
29 sub SCREEN_FIELD () {2};
30 sub SCREEN_BUTTON () {3};
31 sub CGI_PARAM () {4};
32 sub CONTEXT_COUNT () {5};
33 }
34  
35 @EXPORT = qw(
36 MXSCREEN
37 PERSISTENT
38 SCREEN_FIELD
39 SCREEN_BUTTON
40 CGI_PARAM
41 CONTEXT_COUNT
42 );
43  
44 sub import {
45 my $callpkg = caller;
46 no strict 'refs';
47 foreach my $sym (@EXPORT) {
48 *{"${callpkg}::$sym"} = \&{"CGI::MxScreen::Constant::$sym"};
49 }
50 }
51  
52 1;
53  
54 =head1 NAME
55  
56 CGI::MxScreen::Constant - Internal constants
57  
58 =head1 SYNOPSIS
59  
60 # Not meant to be used directly
61  
62 =head1 DESCRIPTION
63  
64 This module factorizes internal constants for the C<CGI::MxScreen>
65 framework.
66  
67 You should not be using this module directly.
68  
69 =head1 AUTHORS
70  
71 The original authors are
72 Raphael Manfredi F<E<lt>Raphael_Manfredi@pobox.comE<gt>>
73 and
74 Christophe Dehaudt F<E<lt>Christophe.Dehaudt@teamlog.frE<gt>>.
75  
76 Send bug reports, suggestions, problems or questions to
77 Jason Purdy F<E<lt>Jason@Purdy.INFOE<gt>>
78  
79 =head1 SEE ALSO
80  
81 CGI::MxScreen(3).
82  
83 =cut
84