Chapter 1 An Overview of Perl
Manpage
|
Link
|
Covers
|
| perl | http://perldoc.perl.org/perl.html | What perl manpages are available |
| perldata | http://perldoc.perl.org/perldata.html | Data types |
| perlsyn | http://perldoc.perl.org/perlsyn.html | Syntax |
| perlop | http://perldoc.perl.org/perlop.html | Operators and precedence |
| perlre | http://perldoc.perl.org/perlre.html | Regular expressions |
| prelvar | http://perldoc.perl.org/perlvar.html | Predefined variables |
| perlsub | http://perldoc.perl.org/perlsub.html | Subroutines |
| perlfunc | http://perldoc.perl.org/perlfunc.html | Built-in functions |
| perlmod | http://perldoc.perl.org/perlmod.html | How perl modules work |
| perlref | http://perldoc.perl.org/perlref.html | References |
| prelobj | http://perldoc.perl.org/perlobj.html | Objects |
| perlipc | http://perldoc.perl.org/perlipc.html | Interprocess communication |
| perlrun | http://perldoc.perl.org/perlrun.html | How to run Perl commands, plus switches |
| perldebug | http://perldoc.perl.org/perldebug.html | Debugging |
| perldiag | http://perldoc.perl.org/perldiag.html | Diagnostic messages |
Manpage
|
Link
|
Covers
|
| perlfaq1 | http://perldoc.perl.org/perlfaq1.html | General questions about Perl |
| perlfaq2 | http://perldoc.perl.org/perlfaq2.html | Obtaining and learning about Perl |
| perlfaq3 | http://perldoc.perl.org/perlfaq3.html | Programming tool s |
| perlfaq4 | http://perldoc.perl.org/perlfaq4.html | Data manipulation |
| perlfaq5 | http://perldoc.perl.org/perlfaq5.html | Files and formats |
| perlfaq6 | http://perldoc.perl.org/perlfaq6.html | Regular expressions |
| perlfaq7 | http://perldoc.perl.org/perlfaq7.html | General Perl language issues |
| perlfaq8 | http://perldoc.perl.org/perlfaq8.html | System interaction |
| perlfaq9 | http://perldoc.perl.org/perlfaq9.html | Networking |
Chapter 2 bits and Pieces
print <<EOF;
The price is $Price.
EOF
print <<`EOC`; # execute commands
echo hi there
echo lo there
EOC
print <<"dromedary", <<"camelid"; # you can stack them
I said bactrian.
dromedary
She said llama.
camelid
sub funkshun{
say $_[0];
say $_[2];
}
funkshun(<<"THIS", 23, <<'THAT');
Here's a line
or two.
THIS
And here's another.
THAT
沒有留言:
張貼留言