zoukankan      html  css  js  c++  java
  • 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



  • 相关阅读:
    PHP 函数
    PHP 循环
    PHP 数组
    PHP Switch 语句
    PHP If...Else 语句
    PHP 字符串
    PHP 变量
    用where导致group by分组字段的索引失效
    mysql之filesort原理
    Windows定时开机并开启工作软件
  • 原文地址:https://www.cnblogs.com/hanleilei/p/2269931.html
Copyright © 2011-2022 走看看