Global symbol requires explicit package name? Why has this occurred and what are various cases that can cause this error?
using state variables without use feature "state" or use v5.10 unless the keyword is written as CORE::state .
use feature "state"
use v5.10
Taken from http://perldoc.perl.org/functions/state.html