$ perl -Mstrict -e 'local $x' Global symbol "$x" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.