- Enter code
- Run the code in one of two ways [*]
- Compiled languages (C, C ++, D, Java, C #)
- Compile the code into an executable using the compilation tool.
- Run executable file
- Interpreted Languages (Perl Python Ruby Lua Haskell Lisp and more)
- Run the code in the interpreter, for example,
perl foo.pl
- Debugging code.
edit: Since the question has been clarified to be a Perl development cycle ...
You will need an editor and a "shell", which is used to control the system. In particular, you need a "command line interface". On Windows, you run this with cmd.exe running in the Run dialog box (Windows + R is the shortcut).
You see a strange black and white box with a blinking cursor, reminding you of ancient systems, noble gurus and wizards. You panic and use Google to get a web page . It is recommended that you find a command to change the directory and list files ...
Upon arrival at the directory where you saved your Perl file, you issue the perl myfilename.pl command perl myfilename.pl , where myfile.pl is the file you saved. As a rule, for programming you will find some errors that seem incomprehensible, and you again refer to Stackoverflow.com ...
* I left, was silent, and drove past many details, since this is an opening question. The full discussion is known as the "Senior Compiler Course".
source share