[sf-perl] Scope of a variable

nheller at silcon.com nheller at silcon.com
Thu Mar 8 11:50:10 PST 2007


I'm trying to create a variable that is visible in multiple namespaces.
I tried declaring the variable using "our".
With use strict in effect, the code seems to treat the variable as a local
in each place that it's used.  IOW, it doesn't hold value from one
namespace to the next.
Can anybody tell me where I'm going wrong?



More information about the SanFrancisco-pm mailing list