Jump to content

Portal:Perl: Difference between revisions

From Wikiversity
Content deleted Content added
Line 32: Line 32:


===Tutorials===
===Tutorials===
* [[Fun with Named Colors and Perl]] - Hands on exersize for building a color palette using Perl (Courtesy of [http://perl.wikia.com WikiaPerl] [[Wikia]])
* [[Fun with Named Colors and Perl]] - Hands on exercize for building a color palette using Perl (Courtesy of [http://perl.wikia.com WikiaPerl] [[Wikia]])
* [[Perl Hello World|Developing a cool-looking 'Hello World']]
* [[Perl Hello World|Developing a cool-looking 'Hello World']]
* [[Getting stats out of wikiversity XML dumps]]
* [[Getting stats out of wikiversity XML dumps]]

Revision as of 22:09, 10 December 2007

Portal:Engineering and Technology > School:Computer Science > Topic:Computer Programming > Topic:Perl

Perl, like Python and PHP is an essential part of a learning path such as Open Source Degree Confirmation, The Art of Computer Programming, Linux Server Administration or Web Services Using LAMP.

LAMP: Linux | Apache | MySQL | PostgreSQL | Perl || Python || PHP.

Prerequisites

The usual Introduction to Programming and Introduction to Programming Logic, plus a broad selection of of CS topics of interest - to you. Walk your own path.

A suggestion: If you are leaning toward Web applications... A large percentage of Perl's real-world application has to do with the Web and Web Programming. If this is the route you're taking, Perl might be for you. If so, some fundementals of Web Design are in order, particularly Web Design/Dynamic Websites and Web Design/Dynamic Websites/Creating Database Tables. While these learning materials lean toward Javascript and PHP, learners should be aware that Perl may offer a practical alternative in many cases.

Learners are advised to gain some understanding of related topics: CGI, Python, Databases, etc. and to approach the study of Perl with an open mind as a part of a larger study of Computer Science. Perl is many things, but it is NOT a panacea, silver bullet or stand-alone programming language. Its strength is being able to adapt and contribute to its environment.

Course Description

Perl has a rich set of text-processing tools, a flexible syntax, *nix-friendly familiarity, excellent documentation and a massive support community. We will learn that Perl comes with a host of standard built-in functions and another host of available functions that help the programmer write solid, reliable code. We will start with whole programs that touch the gamut of statements, variables, operators, functions, expressions, flow control, subroutines, objects and on to real-time, real-life, practical extraction and reporting linguistics.

Contrary to some schools of thought, Perl is not in competition with Python, PHP or even C/C++ but rather complementary providing a "glue" for filling in specific niché jobs. This course will show how to get tasks done and at the same time show some philosophical reasons why to use Perl for those specific jobs.

As we dig a little deeper, we'll learn about Perl within the context of Applied Computer Science as a component of the ACS Practicum. We will use Perl to help demonstrate modularity, human-machine interfaces, database principles, API fundamentals, inter-process communication, lexical scoping and other theoretical aspects of Computer Science. 67.103.200.154 22:08, 10 December 2007 (UTC)

Lessons

See a Perl Hello, World!

Learning guides

Tutorials

Under Development and Wish List

These are lessons which have been suggested, or have been started but are still stub articles. Please help by adding to the content here.

References

The following subsections refer to official Perl documentation available from CPAN. These pages are also available locally by the same names as manpages or via POD documentation on any Unix (or Cygwin) perl installation.

Perl Overview

  • perl Perl overview
  • perlintro Perl introduction for beginners
  • perltoc Perl documentation table of contents

Perl Tutorials

  • perlreftut Perl references short introduction
  • perldsc Perl data structures intro
  • perllol Perl data structures: arrays of arrays

Perl Reference Manual

  • perlmod Perl modules: how they work
  • perlmodlib Perl modules: how to write and use
  • perlmodstyle Perl modules: how to write modules with style
  • perlmodinstall Perl modules: how to install from CPAN
  • perlnewmod Perl modules: preparing a new module for distribution
  • perlutil utilities packaged with the Perl distribution

Perl Internals and C Language Interface

  • perlembed Perl ways to embed perl in your C or C++ application
  • perldebguts Perl debugging guts and tips
  • perlxstut Perl XS tutorial
  • perlxs Perl XS application programming interface
  • perlclib Internal replacements for standard C library functions
  • perlguts Perl internal functions for those doing extensions
  • perlcall Perl calling conventions from C
  • perlapi Perl API listing (autogenerated)
  • perlintern Perl internal functions (autogenerated)
  • perliol C API for Perl’s implementation of IO in Layers
  • perlapio Perl internal IO abstraction interface

Miscellaneous

  • perldoc Look up Perl documentation in Pod format

Language-Specific

  • perlcn Perl for Simplified Chinese (in EUC-CN)
  • perljp Perl for Japanese (in EUC-JP)
  • perlko Perl for Korean (in EUC-KR)
  • perltw Perl for Traditional Chinese (in Big5)

Platform-Specific

Enrolled

Please sign below if you're participating in the Perl topic. Use a hash mark, 4 tildes and any comment to sign.

  1. AdamG 15:57, 1 October 2006 (UTC) I'm interested in learning Perl. I know python scripting and would like to learn other languages for perspective/comparison.
  2. CQ 18:11, 10 October 2006 (UTC) I'm a novice Perl coder. I like the language and features of Perl and I helped create the WikiaPerl site, which desires to participate here at Wikiversity.
  3. Matthewdavid 10:25, 29 December 2006 (UTC) I am learning perl. I am a sys admin. Much of what I administrate is written in Perl and I'd like to be able to modify and create in the language.
  4. Cavac 2007-01-04; i wrote some Perl tutorials for my Blog and i'm gonna port them to Wikiversity.
  5. Ikluft 23:07, 21 July 2007 (UTC) I'm a Perl programmer. I'll look for chances to help in my spare time. I started with turning the references section from a wish list to the links the original author apparently wanted.
  6. ...

Resources