in reply to My script is working fine on linux but it's not working on the Windows
Hi,
A little hint - look up 'my' in the perl documentation.
J.C.