If you want to see what your script is outputting when you double-click on the icon, you will a) need a longer script, or b) need to put a line like "<STDIN>;", which will make the script wait for input, or "sleep 5;", which will make it wait for 5 seconds after it is done. Otherwise your perl installation seems to be configured appropriately for W2k. Also, make sure you are in the same directory as example.pl. One last thing to check: If you created the file with notepad, did you do a "save as" and choose the file type of "all files"? You may have a file called example.pl.txt. But that doesn't jive with the file opening and then closing later when you double-click on the icon, so I don't think that's your problem.
-----Original Message----- From: cory To: [EMAIL PROTECTED] Sent: 7/16/02 6:33 AM Subject: Still Can't get perl to work on Win2K Pro PC when I type perl example.pl at the C:\>command prompt I get this message: cannot open perl script "example.pl": No such file or directory. When I go to the folder that example.pl is located and double click on it opens for about 1/4 of a second that automatically closes. when I type PATH at the C:\> command prompt I get PATH=D:\Perl\bin\; I still can't even run a simple print ("Hello\n"); from the C:\>command prompt. where is what I type #!D:\Perl\bin\; print ("Hello\n"); then I press enter and nothing happens but a carriage return Cory Moore Campaign Manager Pat Ahumada for Congress www.patforcongress.com www.americanvirtue.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]