@EXPORT = qw($SYS_DIR);
Also, the Exporter's documantation states a different way how to make a package use it. Change the other line to
use Exporter 'import';
In reply to Re: Better way to define global variables
by choroba
in thread Better way to define global variables
by govindkailas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |