Am trying to package my diminutive script into an .exe to avoid having to install lots of packages on other machines. 'pp.bat' packs it all into a 4Mb file.
Issue: the resultant .exe runs ok on the dev machine but when put on a diff box it gives several "subroutine <x> redefined" errors for module Win32::Process::List. I do 'use' this module but only via 'use'. I was under the (mistaken) belief that 'use' would throw out duplication attempts for module loads.
Doing a 'grep -ir "Win32::Process::List *" in the unpacked dir shows instances of this module in a .DLL, a .PM and again in a 'inc/' dir.
I tried putting 'no warnings "redefine"' in my code - to no avail.