Localize `$/` correctly.

Current code runs plugins under the `local $/`. It breaks a plugin
code depends on $/ variable.