X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltoc.pod;h=1d57ee11497199f6fc8ecab9f8f47571dc86c776;hb=8afc33d62997aaa3a5e8c389cb908f2d4b3cd31f;hp=53c343da396ca7b7993b5bdc5385d2d65f13f70b;hpb=7b377955e7b75c84dd9da782734d46dadc327bbf;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 53c343d..1d57ee1 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 @@ -335,8 +337,22 @@ X X X =item Extracting matches +=item Backreferences + +=item Relative backreferences + +=item Named backreferences + +=item Alternative capture group numbering + +=item Position information + +=item Non-capturing groupings + =item Matching repetitions +=item Possessive quantifiers + =item Building a regexp =item Using regular expressions in Perl @@ -351,9 +367,9 @@ X X X =item Compiling and saving regular expressions -=item Embedding comments and modifiers in a regular expression +=item Composing regular expressions at runtime -=item Non-capturing groupings +=item Embedding comments and modifiers in a regular expression =item Looking ahead and looking behind @@ -361,8 +377,14 @@ X X X =item Conditional expressions +=item Defining named patterns + +=item Recursive patterns + =item A bit of magic: executing Perl code in a regular expression +=item Backtracking control verbs + =item Pragmas and debugging =back @@ -489,6 +511,8 @@ X X X =item UNIVERSAL: The Root of All Objects +=item Deeper UNIVERSAL details + =back =item Alternate Object Representations @@ -629,6 +653,84 @@ X X X =back +=head2 perlperf - Perl Performance and Optimization Techniques + +=over 4 + +=item DESCRIPTION + +=item OVERVIEW + +=over 4 + +=item ONE STEP SIDEWAYS + +=item ONE STEP FORWARD + +=item ANOTHER STEP SIDEWAYS + +=back + +=item GENERAL GUIDELINES + +=item BENCHMARKS + +=over 4 + +=item Assigning and Dereferencing Variables. + +=item Search and replace or tr + +=back + +=item PROFILING TOOLS + +=over 4 + +=item Devel::DProf + +=item Devel::Profiler + +=item Devel::SmallProf + +=item Devel::FastProf + +=item Devel::NYTProf + +=back + +=item SORTING + +Elapsed Real Time, User CPU Time, System CPU Time + +=item LOGGING + +=over 4 + +=item Logging if DEBUG (constant) + +=back + +=item POSTSCRIPT + +=item SEE ALSO + +=over 4 + +=item PERLDOCS + +=item MAN PAGES + +=item MODULES + +=item URLS + +=back + +=item AUTHOR + +=back + =head2 perlstyle - Perl style guide =over 4 @@ -861,8 +963,7 @@ Interaction, perlfaq9 - Networking =back -=head2 perlfaq1 - General Questions About Perl ($Revision: 1.19 $, $Date: -2005/12/31 00:54:37 $) +=head2 perlfaq1 - General Questions About Perl =over 4 @@ -876,11 +977,11 @@ Interaction, perlfaq9 - Networking =item Which version of Perl should I use? -=item What are perl4, perl5, or perl6? +=item What are Perl 4, Perl 5, or Perl 6? -=item What is Ponie? +=item What was Ponie? -=item What is perl6? +=item What is Perl 6? =item How stable is Perl? @@ -901,17 +1002,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.39 $, -$Date: 2006/01/08 14:27:07 $) +=head2 perlfaq2 - Obtaining and Learning about Perl =over 4 @@ -960,12 +1064,13 @@ References, Tutorials, Task-Oriented, Special Topics =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq3 - Programming Tools ($Revision: 1.56 $, $Date: 2005/12/31 -00:54:37 $) +=head2 perlfaq3 - Programming Tools =over 4 @@ -1004,7 +1109,10 @@ Alpha, BBEdit and BBEdit Lite =item How can I use curses with Perl? -=item How can I use X or Tk with Perl? +=item How can I write a GUI (X, Tk, Gtk, etc.) in Perl? +X X X X X X X X + +Tk, Wx, Gtk and Gtk2, Win32::GUI, CamelBones, Qt, Athena =item How can I make my Perl program run faster? @@ -1023,8 +1131,6 @@ stringification, Pass by reference, Tie large variables to disk =item How can I compile my Perl program into byte code or C? -=item How can I compile Perl into Java? - =item How can I get C<#!perl> to work on [MS-DOS,NT,...]? =item Can I write useful Perl programs on the command line? @@ -1046,12 +1152,13 @@ program; what am I doing wrong? =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq4 - Data Manipulation ($Revision: 1.73 $, $Date: 2005/12/31 -00:54:37 $) +=head2 perlfaq4 - Data Manipulation =over 4 @@ -1108,7 +1215,7 @@ from decimal to binary =item How do I find yesterday's date? -=item Does Perl have a Year 2000 problem? Is Perl Y2K compliant? +=item Does Perl have a Year 2000 problem? Is Perl Y2K compliant? =back @@ -1195,6 +1302,8 @@ intersection of two arrays? =item How do I select a random element from an array? =item How do I permute N elements of a list? +X X X X +X X =item How do I sort an array by (anything)? @@ -1220,6 +1329,7 @@ it? =item How do I sort a hash (optionally by value instead of key)? =item How can I always keep my hash sorted? +X =item What's the difference between "delete" and "undef" with hashes? @@ -1263,12 +1373,13 @@ array of hashes or arrays? =back +=item REVISION + =item AUTHOR AND COPYRIGHT =back -=head2 perlfaq5 - Files and Formats ($Revision: 1.42 $, $Date: 2005/12/31 -00:54:37 $) +=head2 perlfaq5 - Files and Formats =over 4 @@ -1279,8 +1390,8 @@ array of hashes or arrays? =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? +=item How do I change, delete, or insert a line in a file, or append to the +beginning of a file? X =item How do I count the number of lines in a file? @@ -1311,6 +1422,9 @@ X