On Monday 17 December 2001 07:41, you wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > I recently downloaded the windows installer 1.1+ and the AS Package from > www.activestate.com. I have just gotten a book called "PERL A Beginners > Guide". Just like the book told me to do. It then said to go and type in > command which took me to the C:\windows\desktop> I then typed in "perl > hello.pl" after I wrote the first little program. It didn't work. So I was > told to put in my autoexec.bat "PATH%PATH%;:C:\Perl\bin" It then worked > when I typed "perl -v" but when I typed in-Perl hello.pl it didn't. So I > took the program and put in on my desktop, only then did it work. So my > question is this was I supposed to put the saved Perl programs in some > special file or folder? And will I still be able to access it thro my > c:\windows\desktop> prompt? Or will I have to do it someother way? P.S. I > have only read thro to how to write my first hello world program. which > isn't very much. So I sure could use some help. thank you.
Hi, You have to execute the "Perl hello.pl" from the directory that contains the hello.pl. Putting C:\Perl\bin in the path enables windows to find the interpreter "Perl", not your hello.pl. Maarten Hilgenga -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]