use strict; use threads; use threads::shared; { package cfg; use threads; use threads::shared; %cfg::thash : shared = (); } #### 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 = ();