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


in reply to Re^2: -e on windows giving error
in thread -e on windows giving error

The solution BrowserUk rarely works. It requires an absolute path when launching the script (common for some, rare for others), and then only if the absolute path starts with something of the form "D:" (extremely common).

I've posted a more robust version here. It handles relatives paths, and even more exotic drive volume names.