in reply to ENV setting for library loading failure

Doing a perl -w gives me
syntax error at work.pl line 3, near "/usr/local" Bareword found where operator expected at work.pl line 3, near "/lib:/ +usr" (Missing operator before usr?) . . .
I am wondering if this code did compile?