in reply to Re^4: Using packages to store global configuration vars
in thread Using packages to store global configuration vars
actually in your rather restricted case, I'd personally prefer a simple require without importing in the main namespace.
use strict; use lib "/tmp"; require "Conf.pm"; print $Conf::pckvar;
Cheers Rolf
|
|---|