I am trying to include my constants which are placed in a separate file. There are quite a number of these constants defined as shown below : use constant IP_ADDR = '192.345.786.897'; # as an example Coming from a C/C++ background where these constants are kept in a header file and included at compile time and not at run time. All I get is bare words. It works fine if it is in the same file but not in a separate one. I tried creating a module with no success for handling purely constants. Would appreciate any help. Thanks
In reply to Include Constants from other files by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |