update pls post the of the program execute from the command line
we might be able to help you..
6. google how to make a file executable under windows. i think its some right click n change properties there.
7. In unix ennviroment the first line you specify the path of the program that will execute your file.
#!/usr/bin/perl points to the perl interpreter which would execute your perl script.
I blieve in the windows environment its based on the file extension. so making it .pl and associating .pl with perl should do the job, provided your script has got executable permissions.
Usually monks are not so verbose, bear in mind.
The temporal difficulty with perl is u need to know C well to know its awesome.else u just keep *using* it and writing inefficient code