It has nothing to do with Perl, and everything to do with your shell.
The problem is that $
is special for your shell in double-quoted literals. You could escape it, but it's cleaner to use single quotes instead. The content of single-quoted text is passed unchanged.
perl -ne 'print if /LAST_WORD\s*$/' file