use strict; use threads; use threads::shared; # Don't need no "package cfg", since we're # specifying cfg:: in the variable name. %cfg::thash : shared = ();