Hi dudes,
I am using an our in a package but somehow something is wrong if I use the package. I receive the following message:
Bareword "our" not allowed while "strict subs" in use at Trace.pm line 32.
Global symbol "$max_trace_level" requires explicit package name at Trace.pm line 32.
Note that the package is called Trace.pm and the variable is declared within Trace.pm as:
Tell me, what could be wrong?
I am using an our in a package but somehow something is wrong if I use the package. I receive the following message:
Bareword "our" not allowed while "strict subs" in use at Trace.pm line 32.
Global symbol "$max_trace_level" requires explicit package name at Trace.pm line 32.
Note that the package is called Trace.pm and the variable is declared within Trace.pm as:
Code:
our $max_trace_level
Tell me, what could be wrong?