- Write code
- Run code in one of two ways[*]
- Compiled languages (C, C++, D, Java, C#)
- Compile the code into an executable file with the compiler tool.
- Run the executable
- Interpreted languages (Perl Python Ruby Lua Haskell Lisp & more)
- Run the code in an interpreter, e.g.,
perl foo.pl
- Debug code.
edit: Since the question was refined to be the Perl development cycle...
You will need an editor and a 'shell', which is used to command the system with. In particular, you want a 'command-line interface'. On Windows, you start this with running cmd.exe on the Run dialog (Windows + R is the shortcut).
You see a strange black and white box with a blinking cursor, reminding you of ancient systems redolent of gurus and wizards. You panic and refer to Google, getting a web page. Finding the command to change directory and list files is recommended...
Upon arriving at the directory where you stored your Perl file, you issue the command perl myfilename.pl
, where myfile.pl
is the file you saved. As is common for programming, you find some errors that appear to be incomprehensible, and you refer to Stackoverflow.com once again...
* I have elided, glossed, and moved past many of the details, as this is an introductory question. A full discussion is known as "senior-level course on compilers".