http://www.perlmonks.org?node_id=1046343


in reply to Better way to define global variables

You do not want to export the value of the variable, but the variable itself. Use
@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';
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ