This is what I've been trying, but it doesn't quite seem to work:
use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(%config); %config = ( foo => bar, baz => bat );
But I would still get the error Global symbol "%config" requires explicit package name. The code to use my config file was:
use config;In reply to Re^4: Config file recommendations?
by Spidy
in thread Config file recommendations?
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |