http://www.perlmonks.org?node_id=969629


in reply to Re^4: importing functions with "PerlModule" Apache directive
in thread importing functions with "PerlModule" Apache directive

You're not using strict, so of course local our $p=Vars will work. It's just an assignment of a string to a package variable. Compare:

$ perl -ce'local our $p=Vars' -e syntax OK

versus:

$ perl -Mstrict -ce'local our $p=Vars' Bareword "Vars" not allowed while "strict subs" in use at -e line 1. -e had compilation errors.

Also of interest:

$ perl -MO=Deparse -e'local our $p=Vars' local $p = 'Vars'; -e syntax OK
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'