in reply to Code below the thread creation not getting executed in windows perl script
Are you sure that threads work in the environment you are using? Try writing a small test to ensure that its working.