While you are allowed to discuss problems with your fellow students, every student must present and submit his/her own individual solutions.
Additional files
Regular Expressions
The following lists contains two PDF files per assignment. One file contains no solutions and is for your to print out and fill the gaps. The second file contains the solutions and will allow you to check your own results.
Installing Additional Perl Modules
If possible, additional Perl modules should be installed via Ubuntu's apt-get command. For example, to install the Perl modules "Proc::ProcessTable", "Net::DNS", and "Net::Ping::External", run the following command (everything in one line):
sudo apt-get install libproc-processtable-perl libnet-dns-perl libnet-ping-external-perl
To install Perl modules where no packages for Ubuntu exist, run the following commands only once:
sudo apt-get install build-essential
Each time you want to install new modules, perform the following steps:
- As a normal user (no root and no sudo), run the command cpan
- Whenever you are asked a question, press Enter to accept the suggested default.
- If you are running cpan for the first time, execute command make install
- To install a new module, execute the command install Class::Name
- Exit cpan by executing the command quit