The distinctive Perl camel is (c) O'Reilly
Perl Workshop Home Page
Home of the Bioinformatics Perl Workshop perl workshop > courses > perl fundamentals (1.x)

course categories

legend

course code

cat.course.level.sessions.session

e.g. 1.0.1.8

categories

0 | introduction and orientation

1 | perl fundamentals

2 | shell and prompt tools

3 | web development

4 | CPAN Modules

5 | Ruby

levels

level: all all ( 0 )

level: beginner beginner ( 1 )

level: intermediate intermediate ( 2 )

level: advanced advanced ( 3 )

[ use while/until and if/unless to draw attention to positive/negative conditions ]

perl fundamentals

Don't know Perl and would like to learn? Get the fundamentals from the camel's mouth with this series of workshops. We'll cover the basics like variable types, reading and writing files, sorting, and introduce you to Perl idioms.

1.0.1.8 | Introduction to Perl

This eight session course will introduce you to basic Perl. Topics will include scalars, arrays, hashes, context, control structures, functions, reading and writing files, and look at Perl idioms. We'll also touch upon modules and the Comprehensive Perl Archive Network (CPAN).

1.1.2.8 | Intermediate Perl

Perl is a language of acceptable subsets. Larry Wall has said, many times, that it's okay to not know everything. If you knew enough to get the job done, then obviously you knew all you needed to. To provide you with a broader foundation to get your job done, Intermediate Perl continues after Sheldon's wildly successful Introduction to Perl.

1.2.2.1 | Effective use of map, sort and grep in Perl

These three operators - map, sort and grep - pack a lot of functionality. Not uncommonly, the three can be used on a single line to extract, transform and order data. Use map to initialize, distill and transform data structures. Use sort to not only order data, but also shuffle data. Finally, grep is used to extract data using a test condition. Each of these operators lends itself to idiomatic patterns, which will be discussed. As well, each of these operators can be misused and can lead to subtle bugs in your code. I'll try to point a few of these out.

course codes

Courses are labeled by a unique Perl Workshop code. The code has the format category . course . level . sessions [.session].

  • category represents the broad topic area covered by the course
  • course is a unique course identifier within a given category
  • level encodes the level of difficulty from 0 (all) to 3 (advanced)
  • sessions gives the number of lectures in the course
  • .session is an optional session index field which is used when the code refers to a sessions; for example 1.0.1.8 encodes "Introduction to Perl" but 1.0.1.8.2 refers to the second session in the course.

All code components are zero-indexed except for the final optional session index.

course levels

level: all level 0 | all

level: beginner level 1 | beginner

level: intermediate level 2 | intermediate

level: advanced level 3 | advanced