Perl 学习手札之一: introduction

1. prerequistites:

have a basic understanding of programming

should have experience writing working code in modern programming language:

  C, java, JSP, PHP, Python.

Use a system with Perl 5 installed.

  recommended: Perl 5.10.

have a text editor.

2. what is Perl?

Perl is a programming language.

it's interpreted.

it's designed for text processing.

it's a general-purpose, high-level language.

it has a simple and flexible syntax.

  there is more than one way to do it.

  "Swiss Army chansaw" of programming language.

perl is the interpreter for the Perl language.

3. demo:

in terminal: perl -v/ perl -V

perl hello.pl

source code:

#!/usr/bin/perl
use strict;
use warnings;

print "Hello, World!\n";

4. download from activestate.com and install the activeperl newest version.

5. when using eclips as develop IDE, we must install EPIC.

www.epic-ide.org



原文地址:https://www.cnblogs.com/hanleilei/p/2269931.html