Hi
I have a global variable declared and initialized in my .pl file and I am also using this variable in one or more of my .pm files. How do I package this global variable(s) in order to avoid the warnings when run with use strict.
The error is
Variable "%line" is not imported at ./../bin/myfile.pl line 19.
Global symbol "$time" requires explicit package name at ./../bin/file.pl line 64.
This error is in mod1.pm
Global symbol "%line" requires explicit package name at ../bin/mod1.pm line 55.
What package has to used and how?
Thanks and Regards,
Syed