package globalVars; # <- the name you chose use Exporter; @ISA = qw(Exporter); @EXPORT = qw( $PATH_FOO $URL_FOO ); # Some very good descriptive text about a path our $PATH_FOO = "/var/www/my/site/"; # Some very good descriptive text about a url our $URL_FOO = "http://www.foo.net/bar/baz.html";