Global symbol requires explicit package name? Why has this occurred and what are various cases that can cause this error?
In fact, if you use use strict; and somewhere you miss ; at the end of a statement, then the following statements (they have perfect syntax) may raise Global symbol requires explicit package name as well.
use strict;
;