use constant CODE=>0; use constant SUBCODE=>1; ...