Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

How to include a large number of constants?

by noslenj123 (Scribe)
on Apr 27, 2005 at 17:39 UTC ( [id://452043]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://452043]
Approved by moot
Front-paged by tlm
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-04-23 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found