And here is the .pl filepackage Utilities; use Exporter; @EXPORT = ($SYS_DIR); our $SYS_DIR="/path/to/sys"; 1;
use Utilities; use strict; print "This is the value for SYS_DIR=$SYS_DIR";
In reply to Better way to define global variables by govindkailas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |