use constant FAILURE_CONF => 1; use constant FAILURE_EVENT => 2; use constant OPEN_REQ => 3; use constant OPEN_CONF => 4; 1; #### use strict; require "g1.inc"; if ( 3 == OPEN_REQ ) { print "Code is OPEN_REQ\n"; } else { print "Code is NOT OPEN_REQ\n"; }