in reply to Better way to define global variables
@EXPORT = qw($SYS_DIR); [download]
Also, the Exporter's documantation states a different way how to make a package use it. Change the other line to
use Exporter 'import'; [download]