You have to open a text editor like notepad, or an editor for programming languages and after you write your first script
save it wherever you want with whatever name you want lets say 'script.pl'. All of the perl programs preferably end with
pl.
then open the cmd
from Start->Run enter
cmd press enter. Your command prompt will show up. Go to the folder where you saved this first script
and write on the command prompt
> script.pl
and press enter
Of course you can double click on it, it will run, but because of it being simple and just prints something on the screen ,
the only thing that you will see is a black screen (cmd) blinking once, and closing.
The
perl.exe is the interpreter of the language perl.
So if you dont give him something to interprete then he opens an empty cmd and he closes it.(doing nothing)
I dont know if you are familiar with any other programming language but if you are with any visual basic or visuall c++ then perl has nothing to do with this kind of interface.
For a start go to
Beginning_Perl
and do a little reading [red]from the start[/red]
Welcome to the world of Perl and good luck
``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI