Shell and Perl Programming II
Level 2 (CQFW Level 5), 10 Credits.
Available Dates:
- Dates:
- No upcoming courses.
Register interest in this course...
Let us keep you up to date about when the course will run again.
Course Description
This course is ideal for the student who has a knowledge of the Perl Programming language. This course assumes the student has a good knowledge of the Perl topics covered in the Shell Programming I module.
Who is this course for?
This module is designed to extend the student’s knowledge of the Perl Programming so that the student can write more advanced Perl programs.
Learning and Teaching
This module includes a mix of traditional lectures and laboratory sessions. Each meeting starts with a lecture and finishes with a laboratory session.
Coursework and Assessment
To award credits we need to have evidence of the knowledge and skills you have gained or improved. Some of this has to be in a form that can be shown to external examiners so that we can be absolutely sure that standards are met across all courses and subjects.
During the course, you will be given assignments to be submitted to the course tutor. At the end of the course, there will be a class test.
The most important element of assessment is that it should enhance your learning. Our methods are designed to increase your confidence and we try very hard to devise ways of assessing you that are enjoyable and suitable for adults with busy lives.
Syllabus
- Manipulating Database Management ( DBM ) files using hash functions
Subroutines and use of local variables - Full details of a file using the stat function
- Use of time function to get current time in seconds since 1 Jan 1970
- Use of localtime function to convert time in seconds to local time
- Use of getpwuid function to convert a User Identifier ( UID ) to a username
- Use of getgrgid function to convert a Group Identifier ( GID ) to a groupname
- System hash functions %ENV and %SIG
- File and Directory Functions
- Access control on files
- Using the pack and unpack functions to encode and decode data
- Discussion of Internet Protocol ( IP ), User Datagram Protocol ( UDP ) and Transmission Control Protocol ( TCP )
- Creating a client/server application which runs across the network
Reading suggestions
Schwartz, R.L., Phoenix, T. (2001) Learning Perl. O’Reilly & Associates, 3rd edition
