1-2 線??援?簡???

AU Perl Ķæw˩AqAPerl ӴNwgAq|FA]n Perl O_w˧AuݦbROUJG perl -v ɹqùY|^UCTG This is perl, v5.6.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2000, Larry Wall Binary build 613 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 12:36:25 Mar 24 2000 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. YA즹TAjNiHT{ Perl ww˧C]ѦT]iHݥXAڪ Perl O ActiveState qק᪺ Win32 C^

Yno²uW䴩AiHJG

perl -h ^TpUG Usage: C:\Perl\bin\Perl.exe [switches] [--] [programfile] [arguments] -0[octal] specify record separator (\0, if no argument) -a autosplit mode with -n or -p (splits $_ into @F) -C enable native wide character system interfaces -c check syntax only (runs BEGIN and END blocks) -d[:debugger] run program under debugger -D[number/list] set debugging flags (argument is a bit mask or alphabets) -e 'command' one line of program (several -e's allowed, omit programfile) -F/pattern/ split() pattern for -a switch (//'s are optional) -i[extension] edit <> files in place (makes backup if extension supplied) -Idirectory specify @INC/#include directory (several -I's allowed) -l[octal] enable line ending processing, specifies line terminator -[mM][-]module execute `use/no module...' before executing program -n assume 'while (<>) { ... }' loop around program -p assume loop like -n but print line also, like sed -P run program through C preprocessor before compilation -s enable rudimentary parsing for switches after programfile -S look for programfile using PATH environment variable -T enable tainting checks -u dump core after parsing program -U allow unsafe operations -v print version, subversion (includes VERY IMPORTANT perl info) -V[:variable] print configuration summary (or a single Config.pm variable) -w enable many useful warnings (RECOMMENDED) -W enable all warnings -X disable all warnings -x[directory] strip off text before #!perl line and perhaps cd to directory oǺ²uW䴩AǪ̨ӻAi٬O`F@ǡCYnoԲӪuW䴩AiH perldoc ROAҦpG perldoc perl Ynd perldoc \AiJG perldoc perldoc Ynd perl UبơAiHJG perldoc perlfunc Ynd߬Y@ӯSwơAҦp printAiJpUG perldoc -f print ѩWzRO^T۷hAb@@CXAŪ̥iۦոճoǩROC

Perl ] HTML 榡uW䴩A]A Perl w˥ؿO c:\perlAAiHb DOS ROUJUCԭzAH Web s} HTML 榡uW䴩G

start c:\perl\html\index.html Ҷ}ҪuW䴩pUG

ڭ̥ݤ@ӳ²檺 Perl {A\uOLX@CruHello World!vA{X]hello.pl^pUG

lɡ]hello.pl^G]ǦϰUYi^
#! /user/local/bin/perl
# My first Perl program
print "Hello World!";

]]tWz{Xɮ׬ hello.plAYn榹ɮסAib DOS ROUJUCrG

perl hello.pl ɧY|bȹWLXuHello World!vCڭ̲{bvC{XApUG
  1. unOHu#v}YԭzANNOѡA{槹LvTC]Ĥ@C{Xb Win32 x_@ΡCb UNIX xAHu#!v}YԭzAYiD@~tp榹{ɡAHҦӨA@~tη|Isu/usr/local/bin/perlvŪJ{ɨð椧CyܻAb UNIX xWAFiHϥΤWzkӰ hello.pl ~AiѤUC覡N hello.pl 令iɡG chmod +x hello.pl chmod 755 hello.pl Mb UNIX ROUJuhello.plvAɧ@~tδN|gѥ]tu#!vĤ@CAX Perl |AåѦ Perl ӰCC{XC
  2. ĤGC{XO@ӼзǪѡAΨӻ{\C
  3. ĤTChOQ print OӦLXuHello World!vC
b Win32 xWAO_J Perl {ɡAYi}lH׬O֩wCbNT4.0HWAAunb DOS ROJUCԭzYiG assoc .pl=perl ftype perl=c:\perl\bin\perl.exe %1 %* ]䤤ܲĤGCԭzAA㪺gX Perl |C^槹oDZԭzANiHb DOS ROUJuhello.plvӰ榹{XC~AA]iHJuhellovӰ hello.plAb DOS ROUJUCԭzG set PATHEXT=%PATHEXT%;.pl bWzAڭ̳] Perl {Xb Win32 xɦWO plAouO@DzΦӤwAA]iHΨLɦWAHŦXӤHߦnC]YΤPɦWAbWzROAANN pl 令sɦWC^

b᪺MdҡAOH ActiveState qҭק諸 Win32 Perl DCYAϥΪ Perl MѤPAGiತPAӤjPpC


Perl