http://qs1969.pair.com?node_id=527049


in reply to Function 'system' nasty behaviour in Cygwin Perl/Tk

Most likely a cygwin problem.
You should try the rebaseall utility in cygwin's rebase package.

If needed, consider the "-T" option to rebaseall to specify the dlls you'll be using.

more info HERE