
Perl Fundamentals
by Joshua Mostafa
Start the free chapterAuthor Joshua Mostafa takes users through the versatile and powerful programming language known as PERL, a server side language whose primary duty is to handle dynamic content and service clients on the Internet. What separates PERL from other scripting languages is its flexibility. Users don\'t need to code in a certain way to effectively use PERL and have fun doing it. Joshua shows you what tools you need to get started in PERL and what resources to visit in order to perfect your scripting. Start learning now by clicking one of the topics below!
Course content
Concepts8 lessons
First Steps7 lessons
Data Types12 lessons
- Scalars, hashes and arrays2:351 credit or ad
- Working with arrays3:161 credit or ad
- More about arrays4:361 credit or ad
- Array functions4:401 credit or ad
- More array functions5:461 credit or ad
- Multidimensional arrays6:371 credit or ad
- Taking elements out of arrays4:541 credit or ad
- More array manipulation5:011 credit or ad
- Working with hashes5:231 credit or ad
- Extracting data from hashes3:241 credit or ad
- Multidimensional hashes6:211 credit or ad
- Now you try: Data Types1:101 credit or ad
Making Choices10 lessons
- Introducing conditionals3:421 credit or ad
- Conditional operators3:071 credit or ad
- Conditional blocks4:061 credit or ad
- The equality operator4:381 credit or ad
- String comparison operators4:481 credit or ad
- else clauses2:281 credit or ad
- The elsif ladder4:161 credit or ad
- Logical operators6:011 credit or ad
- Nested conditionals7:371 credit or ad
- Now you try: Choices2:001 credit or ad
Loops and Control Structures8 lessons
Strings and Pattern Matching24 lessons
- Extracting a substring3:521 credit or ad
- Locating a substring (1)2:251 credit or ad
- Locating a substring (2)2:341 credit or ad
- Changing case3:051 credit or ad
- Here-document style strings2:571 credit or ad
- Introducing regular expressions5:141 credit or ad
- Matching simple patterns4:021 credit or ad
- Case-insensitive pattern matching2:411 credit or ad
- Matching globally5:161 credit or ad
- Wildcards5:381 credit or ad
- Character sets (1)3:191 credit or ad
- Character sets (2)3:091 credit or ad
- Quantifiers4:231 credit or ad
- Using quantifiers (1)3:241 credit or ad
- Using quantifiers (2)3:231 credit or ad
- Alternation4:001 credit or ad
- Subpatterns (1)3:421 credit or ad
- Subpatterns (2)3:141 credit or ad
- Greedy vs non-greedy quantifiers4:271 credit or ad
- Examples of non-greedy matching5:361 credit or ad
- Replacing using patterns6:011 credit or ad
- Subpattern replacement (1)2:231 credit or ad
- Subpattern replacement: (2)5:011 credit or ad
- Now you try: Strings3:401 credit or ad
Interacting with the Filesystem17 lessons
- Reading from a file3:441 credit or ad
- Writing to a file (1)3:291 credit or ad
- Writing to a file (2)2:111 credit or ad
- Writing to a file (3)4:161 credit or ad
- Reading a files contents at once5:391 credit or ad
- Changing the default output filehandle3:301 credit or ad
- Reading user input from the command line2:481 credit or ad
- An interactive shell script4:451 credit or ad
- Refining the script (1)3:301 credit or ad
- Refining the script (2)4:131 credit or ad
- The script complete5:511 credit or ad
- Working with directories4:091 credit or ad
- Changing the current working directory3:431 credit or ad
- Running executable files (1)2:511 credit or ad
- Running executable files (2)4:111 credit or ad
- Command-line arguments6:211 credit or ad
- Now you try: Interacting with Filesystems1:171 credit or ad
CGI13 lessons
- Running a CGI script on localhost3:591 credit or ad
- Checking errors5:101 credit or ad
- Uploading your script (1)2:151 credit or ad
- Uploading your script (2)4:281 credit or ad
- Environment variables (1)3:021 credit or ad
- Environment variables (2)3:241 credit or ad
- Serving HTML3:511 credit or ad
- The query string4:181 credit or ad
- Accessing GET variables5:561 credit or ad
- Handling URL-encoded characters5:091 credit or ad
- Using HTML forms5:081 credit or ad
- Reading POST data2:511 credit or ad
- Now you try: CGI2:541 credit or ad