My technical and personal observations about softwares and other entities

Thursday, December 8

Perl Course (Day 1)

Perl Course (Day 1)



  • Introduction to Perl -
  • My Plans on Course - details on Books (1. Begging Perl from online library 2. Advanced Perl Programming by Sriram Srinivasan)
  • Main differences between Windows and Unix Perl programs, Meaning of Perl Libraries/Modules, where to get modules?, why to create modules? etc details. Also talked on advantages of learning perl.
  • How to write the perl program? How to make it executable? How to add comments in the program? Meaning of first line #!/usr/bin/perl, how to find the details on installed perl in the system.
  • Example program - Hello.pl
  • How to write interative - taking input from user and doing someting on that, wrote hellouser.pl script, takes input from user, displays Hello Username.
  • Interpolation of variable, main difference between double quotes and single quotes.
  • How to run a system commands like "df -k" in the scripts, how to print there outout - my $output = `df -k`; Also another method is my $result = system("df -k"); Covered which method to be used when.
The first day was cool. I have shifted my PC to the place where I am teaching perl. I was not able to connect the PC because power-cord was missing. I was forced to use pen/paper to explain all the details, one way it was good because people was forced to listen my explaination that doing something on PC.

2 comments:

Randal L. Schwartz said...

If you're already a programmer (know what arrays and subroutines are), you might find "Learning Perl" better than "Beginning Perl".

SopanShewale said...

Hello Randal,

Thank you so much for noticing my Blog.

Yes, Learning Perl is better if some one knows little bit of perl.

Actually I am teaching perl to my friends who do the job of systems administration. They want to increase there skills on there job by learning perl. At the end of there course, I am planing to talk on book "Perl for System Administration" by David N. Blank-Edelman. This will give them a good future direction.

I already know the perl, I am gr8 fan of you and people like Simon Cozens , Tom Christiansen, Damian Convay, Lincoln D. Stein.