Perl - Part 2

[home] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]

What can I do in Perl? If it's for report extraction and so on surely it's not a general programming language; won't it be dull and limited?

No. Perl was written with a wide core functionality that allows a lot of freedom. However, the language was designed to be extensible - you can add things to it! And people did, such was the popularity of the language. If you want to know more about how to do anything, find a suitable site and do a search. Download the module necessary, include it in you program and away you go.

For example if you wanted to do clever stuff with the keyboard, look here.

How do I start?

All programming languages need 3 components:

  1. An editor to create the program
  2. A Compiler or Interpreter to translate and execute the program
  3. An environment in which to run the created programs (a.k.a. a computer!)

So to get started, log in to a UNIX/Linux computer. Perl is available for Windows as well but why use an imitation of the real thing; why have glitter when you can have gold?

Programming Component 3: Where do I Log In?

You can either use the CLI or the GUI to interact with the programming server. Download putty and follow the instructions given in class.

Secure SHell GUI login with PuTTY (under Windows). Under Linux use the SSH command.

Once the server, connection protocol, port and other settings are correct (you'll be given the details of the server you are to connect to in class) click on Open. Provide your username and password to the remote system and you're ready to start.

You'll know you're ready to start because after a successful login you'll see a command prompt with a flashing cursor waiting for your next move........

[home] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]

Last updated: 20131015-16:45