X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltoc.pod;h=6536974f8cacc13e7c0b732a6c60c42f0943650e;hb=d7d7d533fb289d8ec4fa1b5fb02f927ed0cb90cc;hp=318521ee271b92858380fbf5d656d8d354498a4b;hpb=315ba985243fb071f61c50e94a099124c075fd5f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 318521e..6536974 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -71,6 +71,8 @@ through to locate the proper section you're looking for. =item Running Perl programs +=item Safety net + =item Basic syntax overview =item Perl variable types @@ -157,18 +159,25 @@ arrays of arrays, hashes of arrays, arrays of hashes, hashes of hashes, more elaborate constructs =item REFERENCES +X X X X =item COMMON MISTAKES =item CAVEAT ON PRECEDENCE +X X =item WHY YOU SHOULD ALWAYS C =item DEBUGGING +X X +X X X X +X X +X X =item CODE EXAMPLES =item ARRAYS OF ARRAYS +X X =over 4 @@ -181,6 +190,7 @@ more elaborate constructs =back =item HASHES OF ARRAYS +X X =over 4 @@ -193,6 +203,7 @@ more elaborate constructs =back =item ARRAYS OF HASHES +X X =over 4 @@ -205,6 +216,7 @@ more elaborate constructs =back =item HASHES OF HASHES +X X =over 4 @@ -217,6 +229,7 @@ more elaborate constructs =back =item MORE ELABORATE RECORDS +X X X =over 4 @@ -795,8 +808,7 @@ LIMIT specified =back -=head2 perlfaq - frequently asked questions about Perl ($Date: 2005/03/27 -07:21:21 $) +=head2 perlfaq - frequently asked questions about Perl ($Revision: 3606 $) =over 4 @@ -809,21 +821,13 @@ LIMIT specified =item How to contribute to the perlfaq =item What will happen if you mail your Perl programming problems to the -authors +authors? =back -=item Credits - -=item Author and Copyright Information - -=over 4 - -=item Bundled Distributions - -=item Disclaimer +=item CREDITS -=back +=item AUTHOR AND COPYRIGHT =item Table of Contents @@ -859,8 +863,7 @@ Interaction, perlfaq9 - Networking =back -=head2 perlfaq1 - General Questions About Perl ($Revision: 1.17 $, $Date: -2005/01/31 15:52:15 $) +=head2 perlfaq1 - General Questions About Perl ($Revision: 3606 $) =over 4 @@ -899,17 +902,20 @@ Scheme, or Tcl? =item Where can I get a list of Larry Wall witticisms? -=item How can I convince my sysadmin/supervisor/employees to use version -5/5.6.1/Perl instead of some other language? +=item How can I convince others to use Perl? + +http://perltraining.com.au/whyperl.html, +http://www.perl.org/advocacy/whyperl.html =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.31 $, -$Date: 2005/01/31 15:54:44 $) +=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 3606 $) =over 4 @@ -917,13 +923,13 @@ $Date: 2005/01/31 15:54:44 $) =over 4 -=item What machines support Perl? Where do I get it? +=item What machines support perl? Where do I get it? -=item How can I get a binary version of Perl? +=item How can I get a binary version of perl? -=item I don't have a C compiler on my system. How can I compile perl? +=item I don't have a C compiler. How can I build my own Perl interpreter? -=item I copied the Perl binary from one machine to another, but scripts +=item I copied the perl binary from one machine to another, but scripts don't work. =item I grabbed the sources and tried to compile but gdbm/dynamic @@ -944,15 +950,13 @@ What does CPAN/src/... mean? References, Tutorials, Task-Oriented, Special Topics -=item Perl in Magazines - -=item Perl on the Net: FTP and WWW Access +=item Which magazines have Perl content? =item What mailing lists are there for Perl? -=item Archives of comp.lang.perl.misc +=item Where are the archives for comp.lang.perl.misc? -=item Where can I buy a commercial version of Perl? +=item Where can I buy a commercial version of perl? =item Where do I send bug reports? @@ -960,12 +964,13 @@ References, Tutorials, Task-Oriented, Special Topics =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq3 - Programming Tools ($Revision: 1.47 $, $Date: 2005/03/27 -07:21:22 $) +=head2 perlfaq3 - Programming Tools ($Revision: 3606 $) =over 4 @@ -993,10 +998,10 @@ References, Tutorials, Task-Oriented, Special Topics =item Is there an IDE or Windows Perl Editor? -Eclipse, Komodo, Open Perl IDE, OptiPerl, PerlBuilder, visiPerl+, Visual -Perl, GNU Emacs, MicroEMACS, XEmacs, Jed, Elvis, Vile, Vim, Codewright, -MultiEdit, SlickEdit, Bash, Ksh, Tcsh, Zsh, Affrus, Alpha, BBEdit and -BBEdit Lite +Eclipse, Enginsite, Komodo, Open Perl IDE, OptiPerl, PerlBuilder, +visiPerl+, Visual Perl, Zeus, GNU Emacs, MicroEMACS, XEmacs, Jed, Elvis, +Vile, Vim, Codewright, MultiEdit, SlickEdit, Bash, Ksh, Tcsh, Zsh, Affrus, +Alpha, BBEdit and BBEdit Lite =item Where can I get Perl macros for vi? @@ -1035,7 +1040,7 @@ stringification, Pass by reference, Tie large variables to disk =item Where can I learn about object-oriented Perl programming? -=item Where can I learn about linking C with Perl? [h2xs, xsubpp] +=item Where can I learn about linking C with Perl? =item I've read perlembed, perlguts, etc., but I can't embed perl in my C program; what am I doing wrong? @@ -1046,12 +1051,13 @@ program; what am I doing wrong? =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq4 - Data Manipulation ($Revision: 1.61 $, $Date: 2005/03/11 -16:27:53 $) +=head2 perlfaq4 - Data Manipulation ($Revision: 3606 $) =over 4 @@ -1174,8 +1180,6 @@ the tag =item How can I remove duplicate elements from a list or array? -a), b), c), d), e) - =item How can I tell whether a certain element is contained in a list or array? @@ -1265,12 +1269,13 @@ array of hashes or arrays? =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq5 - Files and Formats ($Revision: 1.35 $, $Date: 2005/01/21 -12:26:11 $) +=head2 perlfaq5 - Files and Formats ($Revision: 3606 $) =over 4 @@ -1279,96 +1284,132 @@ array of hashes or arrays? =over 4 =item How do I flush/unbuffer an output filehandle? Why must I do this? +X X X X =item How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file? +X =item How do I count the number of lines in a file? +X X X =item How can I use Perl's C<-i> option from within a program? +X<-i> X =item How can I copy a file? +X X =item How do I make a temporary file name? +X =item How can I manipulate fixed-record-length files? +X X =item How can I make a filehandle local to a subroutine? How do I pass -filehandles between subroutines? How do I make an array of filehandles? +filehandles between subroutines? How do I make an array of filehandles? +X X X =item How can I use a filehandle indirectly? +X =item How can I set up a footer format to be used with write()? +X