X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltoc.pod;h=dd01b90b77463c94dbf94adf7107900f630e4546;hb=002b9267a385cf8ff0e7534241cdf3798da8636c;hp=5ffd019706f585b252c41c0fb5fb0fd024631c97;hpb=fb8eeed8cb12743f5c60d9d4d0405913307f1b9b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 5ffd019..dd01b90 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -1,4 +1,8 @@ +# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! +# This file is autogenerated by buildtoc from all the other pods. +# Edit those files and run buildtoc --build-toc to effect changes. + =head1 NAME perltoc - perl documentation table of contents @@ -103,111 +107,136 @@ Parentheses for capturing, Other regexp features =back -=head2 perlfaq - frequently asked questions about Perl ($Date: 2002/03/11 -21:32:23 $) +=head2 perlreftut - Mark's very short tutorial about references =over 4 =item DESCRIPTION +=item Who Needs Complicated Data Structures? + +=item The Solution + +=item Syntax + =over 4 -=item perlfaq: Structural overview of the FAQ. +=item Making References -=item L: General Questions About Perl +=item Using References -=item L: Obtaining and Learning about Perl +=item An Example -=item L: Programming Tools +=item Arrow Rule -=item L: Data Manipulation +=back -=item L: Files and Formats +=item Solution -=item L: Regular Expressions +=item The Rest -=item L: General Perl Language Issues +=item Summary -=item L: System Interaction +=item Credits -=item L: Networking +=over 4 + +=item Distribution Conditions + +=back =back -=item About the perlfaq documents +=head2 perldsc - Perl Data Structures Cookbook =over 4 -=item Where to get the perlfaq +=item DESCRIPTION -=item How to contribute to the perlfaq +arrays of arrays, hashes of arrays, arrays of hashes, hashes of hashes, +more elaborate constructs -=item What will happen if you mail your Perl programming problems to the -authors +=item REFERENCES -=back +=item COMMON MISTAKES -=item Credits +=item CAVEAT ON PRECEDENCE -=item Author and Copyright Information +=item WHY YOU SHOULD ALWAYS C + +=item DEBUGGING + +=item CODE EXAMPLES + +=item ARRAYS OF ARRAYS =over 4 -=item Bundled Distributions +=item Declaration of an ARRAY OF ARRAYS -=item Disclaimer +=item Generation of an ARRAY OF ARRAYS + +=item Access and Printing of an ARRAY OF ARRAYS =back -=item Changes +=item HASHES OF ARRAYS + +=over 4 + +=item Declaration of a HASH OF ARRAYS -1/November/2000, 23/May/99, 13/April/99, 7/January/99, 22/June/98, -24/April/97, 23/April/97, 25/March/97, 18/March/97, 17/March/97 Version, -Initial Release: 11/March/97 +=item Generation of a HASH OF ARRAYS + +=item Access and Printing of a HASH OF ARRAYS =back -=head2 perlbook - Perl book information +=item ARRAYS OF HASHES =over 4 -=item DESCRIPTION +=item Declaration of an ARRAY OF HASHES + +=item Generation of an ARRAY OF HASHES + +=item Access and Printing of an ARRAY OF HASHES =back -=head2 perlsyn - Perl syntax +=item HASHES OF HASHES =over 4 -=item DESCRIPTION +=item Declaration of a HASH OF HASHES -=over 4 +=item Generation of a HASH OF HASHES -=item Declarations +=item Access and Printing of a HASH OF HASHES -=item Simple statements +=back -=item Compound statements +=item MORE ELABORATE RECORDS -=item Loop Control +=over 4 -=item For Loops +=item Declaration of MORE ELABORATE RECORDS -=item Foreach Loops +=item Declaration of a HASH OF COMPLEX RECORDS -=item Basic BLOCKs and Switch Statements +=item Generation of a HASH OF COMPLEX RECORDS -=item Goto +=back -=item PODs: Embedded Documentation +=item Database Ties -=item Plain Old Comments (Not!) +=item SEE ALSO -=back +=item AUTHOR =back -=head2 perldata - Perl data types +=head2 perllol - Manipulating Arrays of Arrays in Perl =over 4 @@ -215,528 +244,406 @@ Initial Release: 11/March/97 =over 4 -=item Variable names - -=item Context - -=item Scalar values +=item Declaration and Access of Arrays of Arrays -=item Scalar value constructors +=item Growing Your Own -=item List value constructors +=item Access and Printing =item Slices -=item Typeglobs and Filehandles - =back =item SEE ALSO +=item AUTHOR + =back -=head2 perlop - Perl operators and precedence +=head2 perlrequick - Perl regular expressions quick start =over 4 -=item SYNOPSIS - =item DESCRIPTION +=item The Guide + =over 4 -=item Terms and List Operators (Leftward) +=item Simple word matching -=item The Arrow Operator +=item Using character classes -=item Auto-increment and Auto-decrement +=item Matching this or that -=item Exponentiation +=item Grouping things and hierarchical matching -=item Symbolic Unary Operators +=item Extracting matches -=item Binding Operators +=item Matching repetitions -=item Multiplicative Operators +=item More matching -=item Additive Operators +=item Search and replace -=item Shift Operators +=item The split operator -=item Named Unary Operators +=back -=item Relational Operators +=item BUGS -=item Equality Operators +=item SEE ALSO -=item Bitwise And +=item AUTHOR AND COPYRIGHT -=item Bitwise Or and Exclusive Or +=over 4 -=item C-style Logical And +=item Acknowledgments -=item C-style Logical Or +=back -=item Range Operators +=back -=item Conditional Operator +=head2 perlretut - Perl regular expressions tutorial -=item Assignment Operators +=over 4 -=item Comma Operator +=item DESCRIPTION -=item List Operators (Rightward) +=item Part 1: The basics -=item Logical Not +=over 4 -=item Logical And +=item Simple word matching -=item Logical or and Exclusive Or +=item Using character classes -=item C Operators Missing From Perl +=item Matching this or that -unary &, unary *, (TYPE) +=item Grouping things and hierarchical matching -=item Quote and Quote-like Operators +=item Extracting matches -=item Regexp Quote-Like Operators +=item Matching repetitions -?PATTERN?, m/PATTERN/cgimosx, /PATTERN/cgimosx, q/STRING/, C<'STRING'>, -qq/STRING/, "STRING", qr/STRING/imosx, qx/STRING/, `STRING`, qw/STRING/, -s/PATTERN/REPLACEMENT/egimosx, tr/SEARCHLIST/REPLACEMENTLIST/cds, -y/SEARCHLIST/REPLACEMENTLIST/cds, <, C, C, C, C, C<''>, C, C<"">, -C<``>, C, C, C<< >>, C, C, C, -C,, Interpolation of regular expressions, Optimization of -regular expressions +=back -=item I/O Operators +=item Part 2: Power tools -=item Constant Folding +=over 4 -=item Bitwise String Operators +=item More on characters, strings, and character classes -=item Integer Arithmetic +=item Compiling and saving regular expressions -=item Floating-point Arithmetic +=item Embedding comments and modifiers in a regular expression -=item Bigger Numbers +=item Non-capturing groupings -=back +=item Looking ahead and looking behind -=back +=item Using independent subexpressions to prevent backtracking -=head2 perlsub - Perl subroutines +=item Conditional expressions -=over 4 +=item A bit of magic: executing Perl code in a regular expression -=item SYNOPSIS +=item Pragmas and debugging -=item DESCRIPTION +=back -=over 4 +=item BUGS -=item Private Variables via my() +=item SEE ALSO -=item Persistent Private Variables +=item AUTHOR AND COPYRIGHT -=item Temporary Values via local() +=over 4 -=item Lvalue subroutines +=item Acknowledgments -Lvalue subroutines are EXPERIMENTAL +=back -=item Passing Symbol Table Entries (typeglobs) +=back -=item When to Still Use local() +=head2 perlboot - Beginner's Object-Oriented Tutorial -=item Pass by Reference +=over 4 -=item Prototypes +=item DESCRIPTION -=item Constant Functions +=over 4 -=item Overriding Built-in Functions +=item If we could talk to the animals... -=item Autoloading +=item Introducing the method invocation arrow -=item Subroutine Attributes +=item Invoking a barnyard -=back +=item The extra parameter of method invocation -=item SEE ALSO +=item Calling a second method to simplify things -=back +=item Inheriting the windpipes -=head2 perlfunc - Perl builtin functions +=item A few notes about @ISA -=over 4 +=item Overriding the methods -=item DESCRIPTION +=item Starting the search from a different place -=over 4 +=item The SUPER way of doing things -=item Perl Functions by Category +=item Where we're at so far... -Functions for SCALARs or strings, Regular expressions and pattern matching, -Numeric functions, Functions for real @ARRAYs, Functions for list data, -Functions for real %HASHes, Input and output functions, Functions for fixed -length data or records, Functions for filehandles, files, or directories, -Keywords related to the control flow of your perl program, Keywords related -to scoping, Miscellaneous functions, Functions for processes and process -groups, Keywords related to perl modules, Keywords related to classes and -object-orientedness, Low-level socket functions, System V interprocess -communication functions, Fetching user and group info, Fetching network -info, Time-related functions, Functions new in perl5, Functions obsoleted -in perl5 +=item A horse is a horse, of course of course -- or is it? -=item Portability +=item Invoking an instance method -=item Alphabetical Listing of Perl Functions +=item Accessing the instance data -I<-X> FILEHANDLE, I<-X> EXPR, I<-X>, abs VALUE, abs, accept -NEWSOCKET,GENERICSOCKET, alarm SECONDS, alarm, atan2 Y,X, bind SOCKET,NAME, -binmode FILEHANDLE, DISCIPLINE, binmode FILEHANDLE, bless REF,CLASSNAME, -bless REF, caller EXPR, caller, chdir EXPR, chmod LIST, chomp VARIABLE, -chomp( LIST ), chomp, chop VARIABLE, chop( LIST ), chop, chown LIST, chr -NUMBER, chr, chroot FILENAME, chroot, close FILEHANDLE, close, closedir -DIRHANDLE, connect SOCKET,NAME, continue BLOCK, cos EXPR, cos, crypt -PLAINTEXT,SALT, dbmclose HASH, dbmopen HASH,DBNAME,MASK, defined EXPR, -defined, delete EXPR, die LIST, do BLOCK, do SUBROUTINE(LIST), do EXPR, -dump LABEL, dump, each HASH, eof FILEHANDLE, eof (), eof, eval EXPR, eval -BLOCK, exec LIST, exec PROGRAM LIST, exists EXPR, exit EXPR, exp EXPR, exp, -fcntl FILEHANDLE,FUNCTION,SCALAR, fileno FILEHANDLE, flock -FILEHANDLE,OPERATION, fork, format, formline PICTURE,LIST, getc FILEHANDLE, -getc, getlogin, getpeername SOCKET, getpgrp PID, getppid, getpriority -WHICH,WHO, getpwnam NAME, getgrnam NAME, gethostbyname NAME, getnetbyname -NAME, getprotobyname NAME, getpwuid UID, getgrgid GID, getservbyname -NAME,PROTO, gethostbyaddr ADDR,ADDRTYPE, getnetbyaddr ADDR,ADDRTYPE, -getprotobynumber NUMBER, getservbyport PORT,PROTO, getpwent, getgrent, -gethostent, getnetent, getprotoent, getservent, setpwent, setgrent, -sethostent STAYOPEN, setnetent STAYOPEN, setprotoent STAYOPEN, setservent -STAYOPEN, endpwent, endgrent, endhostent, endnetent, endprotoent, -endservent, getsockname SOCKET, getsockopt SOCKET,LEVEL,OPTNAME, glob EXPR, -glob, gmtime EXPR, goto LABEL, goto EXPR, goto &NAME, grep BLOCK LIST, grep -EXPR,LIST, hex EXPR, hex, import, index STR,SUBSTR,POSITION, index -STR,SUBSTR, int EXPR, int, ioctl FILEHANDLE,FUNCTION,SCALAR, join -EXPR,LIST, keys HASH, kill SIGNAL, LIST, last LABEL, last, lc EXPR, lc, -lcfirst EXPR, lcfirst, length EXPR, length, link OLDFILE,NEWFILE, listen -SOCKET,QUEUESIZE, local EXPR, localtime EXPR, lock THING, log EXPR, log, -lstat EXPR, lstat, m//, map BLOCK LIST, map EXPR,LIST, mkdir FILENAME,MASK, -mkdir FILENAME, msgctl ID,CMD,ARG, msgget KEY,FLAGS, msgrcv -ID,VAR,SIZE,TYPE,FLAGS, msgsnd ID,MSG,FLAGS, my EXPR, my EXPR : ATTRIBUTES, -next LABEL, next, no Module VERSION LIST, no Module VERSION, no Module -LIST, no Module, oct EXPR, oct, open FILEHANDLE,EXPR, open -FILEHANDLE,MODE,EXPR, open FILEHANDLE,MODE,EXPR,LIST, open -FILEHANDLE,MODE,REFERENCE, open FILEHANDLE, opendir DIRHANDLE,EXPR, ord -EXPR, ord, our EXPR, our EXPR : ATTRIBUTES, pack TEMPLATE,LIST, package -NAMESPACE, package, pipe READHANDLE,WRITEHANDLE, pop ARRAY, pop, pos -SCALAR, pos, print FILEHANDLE LIST, print LIST, print, printf FILEHANDLE -FORMAT, LIST, printf FORMAT, LIST, prototype FUNCTION, push ARRAY,LIST, -q/STRING/, qq/STRING/, qr/STRING/, qx/STRING/, qw/STRING/, quotemeta EXPR, -quotemeta, rand EXPR, rand, read FILEHANDLE,SCALAR,LENGTH,OFFSET, read -FILEHANDLE,SCALAR,LENGTH, readdir DIRHANDLE, readline EXPR, readlink EXPR, -readlink, readpipe EXPR, recv SOCKET,SCALAR,LENGTH,FLAGS, redo LABEL, redo, -ref EXPR, ref, rename OLDNAME,NEWNAME, require VERSION, require EXPR, -require, reset EXPR, reset, return EXPR, return, reverse LIST, rewinddir -DIRHANDLE, rindex STR,SUBSTR,POSITION, rindex STR,SUBSTR, rmdir FILENAME, -rmdir, s///, scalar EXPR, seek FILEHANDLE,POSITION,WHENCE, seekdir -DIRHANDLE,POS, select FILEHANDLE, select, select RBITS,WBITS,EBITS,TIMEOUT, -semctl ID,SEMNUM,CMD,ARG, semget KEY,NSEMS,FLAGS, semop KEY,OPSTRING, send -SOCKET,MSG,FLAGS,TO, send SOCKET,MSG,FLAGS, setpgrp PID,PGRP, setpriority -WHICH,WHO,PRIORITY, setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL, shift ARRAY, -shift, shmctl ID,CMD,ARG, shmget KEY,SIZE,FLAGS, shmread ID,VAR,POS,SIZE, -shmwrite ID,STRING,POS,SIZE, shutdown SOCKET,HOW, sin EXPR, sin, sleep -EXPR, sleep, socket SOCKET,DOMAIN,TYPE,PROTOCOL, socketpair -SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL, sort SUBNAME LIST, sort BLOCK LIST, -sort LIST, splice ARRAY,OFFSET,LENGTH,LIST, splice ARRAY,OFFSET,LENGTH, -splice ARRAY,OFFSET, splice ARRAY, split /PATTERN/,EXPR,LIMIT, split -/PATTERN/,EXPR, split /PATTERN/, split, sprintf FORMAT, LIST, sqrt EXPR, -sqrt, srand EXPR, srand, stat FILEHANDLE, stat EXPR, stat, study SCALAR, -study, sub BLOCK, sub NAME, sub NAME BLOCK, substr -EXPR,OFFSET,LENGTH,REPLACEMENT, substr EXPR,OFFSET,LENGTH, substr -EXPR,OFFSET, symlink OLDFILE,NEWFILE, syscall LIST, sysopen -FILEHANDLE,FILENAME,MODE, sysopen FILEHANDLE,FILENAME,MODE,PERMS, sysread -FILEHANDLE,SCALAR,LENGTH,OFFSET, sysread FILEHANDLE,SCALAR,LENGTH, sysseek -FILEHANDLE,POSITION,WHENCE, system LIST, system PROGRAM LIST, syswrite -FILEHANDLE,SCALAR,LENGTH,OFFSET, syswrite FILEHANDLE,SCALAR,LENGTH, -syswrite FILEHANDLE,SCALAR, tell FILEHANDLE, tell, telldir DIRHANDLE, tie -VARIABLE,CLASSNAME,LIST, tied VARIABLE, time, times, tr///, truncate -FILEHANDLE,LENGTH, truncate EXPR,LENGTH, uc EXPR, uc, ucfirst EXPR, -ucfirst, umask EXPR, umask, undef EXPR, undef, unlink LIST, unlink, unpack -TEMPLATE,EXPR, untie VARIABLE, unshift ARRAY,LIST, use Module VERSION LIST, -use Module VERSION, use Module LIST, use Module, use VERSION, utime LIST, -values HASH, vec EXPR,OFFSET,BITS, wait, waitpid PID,FLAGS, wantarray, warn -LIST, write FILEHANDLE, write EXPR, write, y/// +=item How to build a horse -=back +=item Inheriting the constructor -=back +=item Making a method work with either classes or instances -=head2 perlreftut - Mark's very short tutorial about references +=item Adding parameters to a method -=over 4 +=item More interesting instances -=item DESCRIPTION +=item A horse of a different color -=item Who Needs Complicated Data Structures? +=item Summary -=item The Solution +=back -=item Syntax +=item SEE ALSO -=over 4 +=item COPYRIGHT -=item Making References +=back -=item Using References +=head2 perltoot - Tom's object-oriented tutorial for perl -=back +=over 4 -=item An Example +=item DESCRIPTION -=item Arrow Rule +=item Creating a Class -=item Solution +=over 4 -=item The Rest +=item Object Representation -=item Summary +=item Class Interface -=item Credits +=item Constructors and Instance Methods -=over 4 +=item Planning for the Future: Better Constructors -=item Distribution Conditions +=item Destructors -=back +=item Other Object Methods =back -=head2 perldsc - Perl Data Structures Cookbook +=item Class Data =over 4 -=item DESCRIPTION - -arrays of arrays, hashes of arrays, arrays of hashes, hashes of hashes, -more elaborate constructs - -=item REFERENCES +=item Accessing Class Data -=item COMMON MISTAKES +=item Debugging Methods -=item CAVEAT ON PRECEDENCE +=item Class Destructors -=item WHY YOU SHOULD ALWAYS C +=item Documenting the Interface -=item DEBUGGING +=back -=item CODE EXAMPLES +=item Aggregation -=item ARRAYS OF ARRAYS +=item Inheritance =over 4 -=item Declaration of an ARRAY OF ARRAYS +=item Overridden Methods -=item Generation of an ARRAY OF ARRAYS +=item Multiple Inheritance -=item Access and Printing of an ARRAY OF ARRAYS +=item UNIVERSAL: The Root of All Objects =back -=item HASHES OF ARRAYS +=item Alternate Object Representations =over 4 -=item Declaration of a HASH OF ARRAYS - -=item Generation of a HASH OF ARRAYS +=item Arrays as Objects -=item Access and Printing of a HASH OF ARRAYS +=item Closures as Objects =back -=item ARRAYS OF HASHES +=item AUTOLOAD: Proxy Methods =over 4 -=item Declaration of an ARRAY OF HASHES - -=item Generation of an ARRAY OF HASHES +=item Autoloaded Data Methods -=item Access and Printing of an ARRAY OF HASHES +=item Inherited Autoloaded Data Methods =back -=item HASHES OF HASHES +=item Metaclassical Tools =over 4 -=item Declaration of a HASH OF HASHES - -=item Generation of a HASH OF HASHES +=item Class::Struct -=item Access and Printing of a HASH OF HASHES +=item Data Members as Variables =back -=item MORE ELABORATE RECORDS +=item NOTES =over 4 -=item Declaration of MORE ELABORATE RECORDS +=item Object Terminology -=item Declaration of a HASH OF COMPLEX RECORDS +=back -=item Generation of a HASH OF COMPLEX RECORDS +=item SEE ALSO -=back +=item AUTHOR AND COPYRIGHT -=item Database Ties +=item COPYRIGHT -=item SEE ALSO +=over 4 -=item AUTHOR +=item Acknowledgments =back -=head2 perlrequick - Perl regular expressions quick start +=back + +=head2 perltooc - Tom's OO Tutorial for Class Data in Perl =over 4 =item DESCRIPTION -=item The Guide +=item Class Data in a Can + +=item Class Data as Package Variables =over 4 -=item Simple word matching +=item Putting All Your Eggs in One Basket -=item Using character classes +=item Inheritance Concerns -=item Matching this or that +=item The Eponymous Meta-Object -=item Grouping things and hierarchical matching +=item Indirect References to Class Data -=item Extracting matches +=item Monadic Classes -=item Matching repetitions +=item Translucent Attributes -=item More matching +=back -=item Search and replace +=item Class Data as Lexical Variables -=item The split operator +=over 4 + +=item Privacy and Responsibility + +=item File-Scoped Lexicals + +=item More Inheritance Concerns + +=item Locking the Door and Throwing Away the Key + +=item Translucency Revisited =back -=item BUGS +=item NOTES =item SEE ALSO =item AUTHOR AND COPYRIGHT -=over 4 - -=item Acknowledgments +=item ACKNOWLEDGEMENTS -=back +=item HISTORY =back -=head2 perlpod - the Plain Old Documentation format +=head2 perlbot - Bag'o Object Tricks (the BOT) =over 4 =item DESCRIPTION -=over 4 +=item OO SCALING TIPS -=item Ordinary Paragraph +=item INSTANCE VARIABLES -=item Verbatim Paragraph +=item SCALAR INSTANCE VARIABLES -=item Command Paragraph +=item INSTANCE VARIABLE INHERITANCE -C<=head1 I>, C<=head2 I>, C<=head3 I>, C<=head4 I>, C<=over I>, C<=item -I>, C<=back>, C<=cut>, C<=pod>, C<=begin I>, C<=end -I>, C<=for I I> +=item OBJECT RELATIONSHIPS -=item Formatting Codes +=item OVERRIDING SUPERCLASS METHODS -CtextE> -- italic text, CtextE> -- bold text, -CcodeE> -- code text, CnameE> -- a hyperlink, -CescapeE> -- a character escape, CfilenameE> -- used -for filenames, CtextE> -- text contains non-breaking spaces, -Ctopic nameE> -- an index entry, CE> -- a null -(zero-effect) formatting code +=item USING RELATIONSHIP WITH SDBM -=item The Intent +=item THINKING OF CODE REUSE -=item Embedding Pods in Perl Modules +=item CLASS CONTEXT AND THE OBJECT -=item Hints for Writing Pod +=item INHERITING A CONSTRUCTOR -=back +=item DELEGATION =item SEE ALSO -=item AUTHOR - =back -=head2 perlpodspec - Plain Old Documentation: format specification and -notes +=head2 perlstyle - Perl style guide =over 4 =item DESCRIPTION -=item Pod Definitions - -=item Pod Commands +=back -"=head1", "=head2", "=head3", "=head4", "=pod", "=cut", "=over", "=item", -"=back", "=begin formatname", "=end formatname", "=for formatname text..." +=head2 perlcheat - Perl 5 Cheat Sheet -=item Pod Formatting Codes +=over 4 -CtextE> -- italic text, CtextE> -- bold text, -CcodeE> -- code text, CfilenameE> -- style for -filenames, Ctopic nameE> -- an index entry, CE> -- a -null (zero-effect) formatting code, CnameE> -- a hyperlink, -CescapeE> -- a character escape, CtextE> -- text -contains non-breaking spaces +=item DESCRIPTION -=item Notes on Implementing Pod Processors +=over 4 -=item About LE...E Codes +=item The sheet -First:, Second:, Third:, Fourth:, Fifth:, Sixth: +=back -=item About =over...=back Regions +=item ACKNOWLEDGEMENTS -=item About Data Paragraphs and "=begin/=end" Regions +=item AUTHOR =item SEE ALSO -=item AUTHOR - -=back - -=head2 perlstyle - Perl style guide - -=over 4 - -=item DESCRIPTION - =back =head2 perltrap - Perl traps for the unwary @@ -749,7 +656,7 @@ First:, Second:, Third:, Fourth:, Fifth:, Sixth: =item Awk Traps -=item C Traps +=item C/C++ Traps =item Sed Traps @@ -766,54 +673,84 @@ Subroutine, Signal, Sorting Traps, OS Traps, DBM Traps, Unclassified Traps =item Discontinuance, Deprecation, and BugFix traps -Discontinuance, Deprecation, BugFix, Discontinuance, Discontinuance, -Discontinuance, BugFix, Discontinuance, Discontinuance, BugFix, -Discontinuance, Deprecation, Discontinuance, Discontinuance +Symbols starting with "_" no longer forced into main, Double-colon valid +package separator in variable name, 2nd and 3rd args to C are now +in scalar context, Can't do C into a block that is optimized away, +Can't use whitespace as variable name or quote delimiter, C gone, C<**> binds tighter than unary minus, C changed when +iterating over a list, C with no args behavior changed, B<-e> +behavior fixed, C returns number of elements in resulting list, Some +error messages differ, C honors subroutine args, Bugs removed =item Parsing Traps -Parsing, Parsing, Parsing, Parsing, Parsing +Space between . and = triggers syntax error, Better parsing in perl 5, +Function parsing, String interpolation of C<$#array> differs, Perl guesses +on C, C followed by C<{> if it starts BLOCK or hash ref =item Numerical Traps -Numerical, Numerical, Numerical, Bitwise string ops +Formatted output and significant digits, Auto-increment operator over +signed int limit deleted, Assignment of return values from numeric equality +tests doesn't work, Bitwise string ops =item General data type traps -(Arrays), (Arrays), (Hashes), (Globs), (Globs), (Scalar String), -(Constants), (Scalars), (Variable Suicide) +Negative array subscripts now count from the end of array, Setting +C<$#array> lower now discards array elements, Hashes get defined before +use, Glob assignment from localized variable to variable, Assigning +C to glob, Changes in unary negation (of strings), Modifying of +constants prohibited, C behavior changed, Variable Suicide =item Context Traps - scalar, list contexts -(list context), (scalar context), (scalar context), (list, builtin) +Elements of argument lists for formats evaluated in list context, +C returns false value in scalar context if no caller present, +Comma operator in scalar context gives scalar context to args, C +prototyped as C<($;@)> =item Precedence Traps -Precedence, Precedence, Precedence, Precedence, Precedence, Precedence, -Precedence +LHS vs. RHS of any assignment operator, Semantic errors introduced due to +precedence, Precedence of assignment operators same as the precedence of +assignment, C requires parentheses around filehandle, C<$:> +precedence over C<$::> gone, Precedence of file test operators documented, +C, C, C are regular named unary operators =item General Regular Expression Traps using s///, etc. -Regular Expression, Regular Expression, Regular Expression, Regular -Expression, Regular Expression, Regular Expression, Regular Expression, -Regular Expression +C interpolates on either side, C attaches its state to +the searched string, C used within an anonymous sub, C<$+> isn't set +to whole match, Substitution now returns null string if it fails, +C is now a normal substitution, Stricter parsing of variables +in regular expressions, C matches only once, Failed matches don't +reset the match variables =item Subroutine, Signal, Sorting Traps -(Signals), (Sort Subroutine), warn() won't let you specify a filehandle +Barewords that used to look like strings look like subroutine calls, +Reverse is no longer allowed as the name of a sort subroutine, C +won't let you specify a filehandle =item OS Traps -(SysV), (SysV) +SysV resets signal handler correctly, SysV C appends correctly =item Interpolation Traps -Interpolation, Interpolation, Interpolation, Interpolation, Interpolation, -Interpolation, Interpolation, Interpolation, Interpolation +C<@> always interpolates an array in double-quotish strings, Double-quoted +strings may no longer end with an unescaped $, Arbitrary expressions are +evaluated inside braces within double quotes, C<$$x> now tries to +dereference $x, Creation of hashes on the fly with C requires +protection, Bugs in earlier perl versions, Array and hash brackets during +interpolation, Interpolation of C<\$$foo{bar}>, C string passed to +C will not find string terminator =item DBM Traps -DBM, DBM +Perl5 must have been linked with same dbm/ndbm as the default for +C, DBM exceeding limit on the key/value size will cause perl5 to +exit immediately =item Unclassified Traps @@ -824,53 +761,42 @@ LIMIT specified =back -=head2 perlrun - how to execute the Perl interpreter +=head2 perldebtut - Perl debugging tutorial =over 4 -=item SYNOPSIS - =item DESCRIPTION -=over 4 +=item use strict -=item #! and quoting on non-Unix systems +=item Looking at data and -w and v -OS/2, MS-DOS, Win95/NT, Macintosh, VMS +=item help -=item Location of Perl +=item Stepping through code -=item Command Switches +=item Placeholder for a, w, t, T -B<-0>[I], B<-a>, B<-C>, B<-c>, B<-d>, B<-d:>I, -B<-D>I, B<-D>I, B<-e> I, B<-F>I, -B<-h>, B<-i>[I], B<-I>I, B<-l>[I], -B<-m>[B<->]I, B<-M>[B<->]I, B<-M>[B<->]I<'module ...'>, -B<-[mM]>[B<->]I, B<-n>, B<-p>, B<-P>, B<-s>, B<-S>, -B<-t>, B<-T>, B<-u>, B<-U>, B<-v>, B<-V>, B<-V:>I, B<-w>, B<-W>, -B<-X>, B<-x> I +=item REGULAR EXPRESSIONS -=back +=item OUTPUT TIPS -=item ENVIRONMENT +=item CGI -HOME, LOGDIR, PATH, PERL5LIB, PERL5OPT, PERLIO, :bytes, :crlf, :mmap, -:perlio, :raw, :stdio, :unix, :utf8, :win32, PERLIO_DEBUG, PERLLIB, -PERL5DB, PERL5SHELL (specific to the Win32 port), PERL_DEBUG_MSTATS, -PERL_DESTRUCT_LEVEL, PERL_ENCODING, PERL_ROOT (specific to the VMS port), -SYS$LOGIN (specific to the VMS port) +=item GUIs -=back +=item SUMMARY -=head2 perldiag - various Perl diagnostics +=item SEE ALSO -=over 4 +=item AUTHOR -=item DESCRIPTION +=item CONTRIBUTORS =back -=head2 perllexwarn - Perl Lexical Warnings +=head2 perlfaq - frequently asked questions about Perl ($Date: 2005/03/27 +07:21:21 $) =over 4 @@ -878,127 +804,112 @@ SYS$LOGIN (specific to the VMS port) =over 4 -=item Default Warnings and Optional Warnings - -=item What's wrong with B<-w> and C<$^W> - -=item Controlling Warnings from the Command Line - -B<-w>, B<-W>, B<-X> - -=item Backward Compatibility - -=item Category Hierarchy +=item Where to get the perlfaq -=item Fatal Warnings +=item How to contribute to the perlfaq -=item Reporting Warnings from a Module +=item What will happen if you mail your Perl programming problems to the +authors =back -=item TODO +=item Credits -=item SEE ALSO +=item Author and Copyright Information -=item AUTHOR +=over 4 -=back +=item Bundled Distributions -=head2 perldebtut - Perl debugging tutorial +=item Disclaimer -=over 4 +=back -=item DESCRIPTION +=item Table of Contents -=item use strict +perlfaq - this document, perlfaq1 - General Questions About Perl, perlfaq2 +- Obtaining and Learning about Perl, perlfaq3 - Programming Tools, perlfaq4 +- Data Manipulation, perlfaq5 - Files and Formats, perlfaq6 - Regular +Expressions, perlfaq7 - General Perl Language Issues, perlfaq8 - System +Interaction, perlfaq9 - Networking -=item Looking at data and -w and v +=item The Questions -=item help +=over 4 -=item Stepping through code +=item L: General Questions About Perl -=item Placeholder for a, w, t, T +=item L: Obtaining and Learning about Perl -=item REGULAR EXPRESSIONS +=item L: Programming Tools -=item OUTPUT TIPS +=item L: Data Manipulation -=item CGI +=item L: Files and Formats -=item GUIs +=item L: Regular Expressions -=item SUMMARY +=item L: General Perl Language Issues -=item SEE ALSO +=item L: System Interaction -=item AUTHOR +=item L: Networking -=item CONTRIBUTORS +=back =back -=head2 perldebug - Perl debugging +=head2 perlfaq1 - General Questions About Perl ($Revision: 1.18 $, $Date: +2005/04/01 16:15:25 $) =over 4 =item DESCRIPTION -=item The Perl Debugger - =over 4 -=item Debugger Commands +=item What is Perl? -h, h [command], h h, p expr, x [maxdepth] expr, V [pkg [vars]], X [vars], y -[level [vars]], T, s [expr], n [expr], r, , c [line|sub], l, l -min+incr, l min-max, l line, l subname, -, v [line], f filename, /pattern/, -?pattern?, L [abw], S [[!]regex], t, t expr, b, b [line] [condition], b -subname [condition], b postpone subname [condition], b load filename, b -compile subname, B line, B *, a [line] command, A line, A *, w expr, W -expr, W *, o, o booloption .., o anyoption? .., o option=value .., < ?, < [ -command ], << command, > ?, > command, >> command, { ?, { [ command ], {{ -command, ! number, ! -number, ! pattern, !! cmd, @ file, H -number, q or -^D, R, |dbcmd, ||dbcmd, command, m expr, M, man [manpage] +=item Who supports Perl? Who develops it? Why is it free? -=item Configurable Options +=item Which version of Perl should I use? -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, C, -C +=item What are perl4, perl5, or perl6? -=item Debugger input/output +=item What is Ponie? -Prompt, Multiline commands, Stack backtrace, Line Listing Format, Frame -listing +=item What is perl6? -=item Debugging compile-time statements +=item How stable is Perl? -=item Debugger Customization +=item Is Perl difficult to learn? -=item Readline Support +=item How does Perl compare with other languages like Java, Python, REXX, +Scheme, or Tcl? -=item Editor Support for Debugging +=item Can I do [task] in Perl? -=item The Perl Profiler +=item When shouldn't I program in Perl? -=back +=item What's the difference between "perl" and "Perl"? -=item Debugging regular expressions +=item Is it a Perl program or a Perl script? -=item Debugging memory usage +=item What is a JAPH? -=item SEE ALSO +=item Where can I get a list of Larry Wall witticisms? -=item BUGS +=item How can I convince my sysadmin/supervisor/employees to use version +5/5.6.1/Perl instead of some other language? =back -=head2 perlvar - Perl predefined variables +=item AUTHOR AND COPYRIGHT + +=back + +=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.32 $, +$Date: 2005/04/22 19:04:48 $) =over 4 @@ -1006,380 +917,358 @@ listing =over 4 -=item Predefined Names +=item What machines support Perl? Where do I get it? -$ARG, $_, $a, $b, $>, $MATCH, $&, $PREMATCH, $`, $POSTMATCH, $', -$LAST_PAREN_MATCH, $+, $^N, @LAST_MATCH_END, @+, $MULTILINE_MATCHING, $*, -HANDLE->input_line_number(EXPR), $INPUT_LINE_NUMBER, $NR, $, -IO::Handle->input_record_separator(EXPR), $INPUT_RECORD_SEPARATOR, $RS, $/, -HANDLE->autoflush(EXPR), $OUTPUT_AUTOFLUSH, $|, -IO::Handle->output_field_separator EXPR, $OUTPUT_FIELD_SEPARATOR, $OFS, $,, -IO::Handle->output_record_separator EXPR, $OUTPUT_RECORD_SEPARATOR, $ORS, -$\, $LIST_SEPARATOR, $", $SUBSCRIPT_SEPARATOR, $SUBSEP, $;, $OFMT, $#, -HANDLE->format_page_number(EXPR), $FORMAT_PAGE_NUMBER, $%, -HANDLE->format_lines_per_page(EXPR), $FORMAT_LINES_PER_PAGE, $=, -HANDLE->format_lines_left(EXPR), $FORMAT_LINES_LEFT, $-, @LAST_MATCH_START, -@-, C<$`> is the same as C, C<$&> is the same as -C, C<$'> is the same as C, C<$1> is the same as C, C<$2> -is the same as C, C<$3> is the same as -C, HANDLE->format_name(EXPR), -$FORMAT_NAME, $~, HANDLE->format_top_name(EXPR), $FORMAT_TOP_NAME, $^, -IO::Handle->format_line_break_characters EXPR, -$FORMAT_LINE_BREAK_CHARACTERS, $:, IO::Handle->format_formfeed EXPR, -$FORMAT_FORMFEED, $^L, $ACCUMULATOR, $^A, $CHILD_ERROR, $?, ${^ENCODING}, -$OS_ERROR, $ERRNO, $!, %!, $EXTENDED_OS_ERROR, $^E, $EVAL_ERROR, $@, -$PROCESS_ID, $PID, $$, $REAL_USER_ID, $UID, $<, $EFFECTIVE_USER_ID, $EUID, -$>, $REAL_GROUP_ID, $GID, $(, $EFFECTIVE_GROUP_ID, $EGID, $), -$PROGRAM_NAME, $0, $[, $], $COMPILING, $^C, $DEBUGGING, $^D, -$SYSTEM_FD_MAX, $^F, $^H, %^H, $INPLACE_EDIT, $^I, $^M, $OSNAME, $^O, -${^OPEN}, $PERLDB, $^P, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, -0x100, 0x200, $LAST_REGEXP_CODE_RESULT, $^R, $EXCEPTIONS_BEING_CAUGHT, $^S, -$BASETIME, $^T, ${^TAINT}, $PERL_VERSION, $^V, $WARNING, $^W, -${^WARNING_BITS}, ${^WIDE_SYSTEM_CALLS}, $EXECUTABLE_NAME, $^X, ARGV, -$ARGV, @ARGV, @F, @INC, @_, %INC, %ENV, $ENV{expr}, %SIG, $SIG{expr} +=item How can I get a binary version of Perl? -=item Error Indicators +=item I don't have a C compiler on my system. How can I compile perl? -=item Technical Note on the Syntax of Variable Names +=item I copied the Perl binary from one machine to another, but scripts +don't work. -=back +=item I grabbed the sources and tried to compile but gdbm/dynamic +loading/malloc/linking/... failed. How do I make it work? -=item BUGS +=item What modules and extensions are available for Perl? What is CPAN? +What does CPAN/src/... mean? -=back +=item Is there an ISO or ANSI certified version of Perl? -=head2 perllol - Manipulating Arrays of Arrays in Perl +=item Where can I get information on Perl? -=over 4 +=item What are the Perl newsgroups on Usenet? Where do I post questions? -=item DESCRIPTION +=item Where should I post source code? -=over 4 +=item Perl Books -=item Declaration and Access of Arrays of Arrays +References, Tutorials, Task-Oriented, Special Topics -=item Growing Your Own +=item Perl in Magazines -=item Access and Printing +=item Perl on the Net: FTP and WWW Access -=item Slices +=item What mailing lists are there for Perl? -=back +=item Archives of comp.lang.perl.misc -=item SEE ALSO +=item Where can I buy a commercial version of Perl? -=item AUTHOR +=item Where do I send bug reports? + +=item What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? =back -=head2 perlopentut - tutorial on opening things in Perl +=item AUTHOR AND COPYRIGHT + +=back + +=head2 perlfaq3 - Programming Tools ($Revision: 1.48 $, $Date: 2005/04/22 +19:04:48 $) =over 4 =item DESCRIPTION -=item Open E la shell - =over 4 -=item Simple Opens +=item How do I do (anything)? -=item Pipe Opens +=item How can I use Perl interactively? -=item The Minus File +=item Is there a Perl shell? -=item Mixing Reads and Writes +=item How do I find which modules are installed on my system? -=item Filters +=item How do I debug my Perl programs? -=back +=item How do I profile my Perl programs? -=item Open E la C +=item How do I cross-reference my Perl programs? -=over 4 +=item Is there a pretty-printer (formatter) for Perl? -=item Permissions E la mode +=item Is there a ctags for Perl? -=back +=item Is there an IDE or Windows Perl Editor? -=item Obscure Open Tricks +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 -=over 4 +=item Where can I get Perl macros for vi? -=item Re-Opening Files (dups) +=item Where can I get perl-mode for emacs? -=item Dispelling the Dweomer +=item How can I use curses with Perl? -=item Paths as Opens +=item How can I use X or Tk with Perl? -=item Single Argument Open +=item How can I make my Perl program run faster? -=item Playing with STDIN and STDOUT +=item How can I make my Perl program take less memory? -=back +Don't slurp!, Use map and grep selectively, Avoid unnecessary quotes and +stringification, Pass by reference, Tie large variables to disk -=item Other I/O Issues +=item Is it safe to return a reference to local or lexical data? -=over 4 +=item How can I free an array or hash so my program shrinks? -=item Opening Non-File Files +=item How can I make my CGI script more efficient? -=item Binary Files +=item How can I hide the source for my Perl program? -=item File Locking +=item How can I compile my Perl program into byte code or C? -=back - -=item SEE ALSO +=item How can I compile Perl into Java? -=item AUTHOR and COPYRIGHT +=item How can I get C<#!perl> to work on [MS-DOS,NT,...]? -=item HISTORY +=item Can I write useful Perl programs on the command line? -=back +=item Why don't Perl one-liners work on my DOS/Mac/VMS system? -=head2 perlpacktut - tutorial on C and C +=item Where can I learn about CGI or Web programming in Perl? -=over 4 +=item Where can I learn about object-oriented Perl programming? -=item DESCRIPTION +=item Where can I learn about linking C with Perl? [h2xs, xsubpp] -=item The Basic Principle +=item I've read perlembed, perlguts, etc., but I can't embed perl in my C +program; what am I doing wrong? -=item Packing Text +=item When I tried to run my script, I got this message. What does it mean? -=item Packing Numbers +=item What's MakeMaker? -=over 4 +=back -=item Integers +=item AUTHOR AND COPYRIGHT -=item Unpacking a Stack Frame +=back -=item How to Eat an Egg on a Net +=head2 perlfaq4 - Data Manipulation ($Revision: 1.64 $, $Date: 2005/04/27 +00:18:04 $) -=item Floating point Numbers +=over 4 -=back +=item DESCRIPTION -=item Exotic Templates +=item Data: Numbers =over 4 -=item Bit Strings +=item Why am I getting long decimals (eg, 19.9499999999999) instead of the +numbers I should be getting (eg, 19.95)? -=item Uuencoding +=item Why is int() broken? -=item Doing Sums +=item Why isn't my octal data interpreted correctly? -=item Unicode +=item Does Perl have a round() function? What about ceil() and floor()? +Trig functions? -=item Another Portable Binary Encoding +=item How do I convert between numeric representations/bases/radixes? -=back +How do I convert hexadecimal into decimal, How do I convert from decimal to +hexadecimal, How do I convert from octal to decimal, How do I convert from +decimal to octal, How do I convert from binary to decimal, How do I convert +from decimal to binary -=item Lengths and Widths +=item Why doesn't & work the way I want it to? -=over 4 +=item How do I multiply matrices? -=item String Lengths +=item How do I perform an operation on a series of integers? -=item Dynamic Templates +=item How can I output Roman numerals? + +=item Why aren't my random numbers random? + +=item How do I get a random number between X and Y? =back -=item Packing and Unpacking C Structures +=item Data: Dates =over 4 -=item The Alignment Pit - -=item Alignment, Take 2 +=item How do I find the day or week of the year? -=item Alignment, Take 3 +=item How do I find the current century or millennium? -=item Pointers for How to Use Them +=item How can I compare two dates and find the difference? -=back +=item How can I take a string and turn it into epoch seconds? -=item Pack Recipes +=item How can I find the Julian Day? -=item Funnies Section +=item How do I find yesterday's date? -=item Authors +=item Does Perl have a Year 2000 problem? Is Perl Y2K compliant? =back -=head2 perlretut - Perl regular expressions tutorial +=item Data: Strings =over 4 -=item DESCRIPTION - -=item Part 1: The basics - -=over 4 +=item How do I validate input? -=item Simple word matching +=item How do I unescape a string? -=item Using character classes +=item How do I remove consecutive pairs of characters? -=item Matching this or that +=item How do I expand function calls in a string? -=item Grouping things and hierarchical matching +=item How do I find matching/nesting anything? -=item Extracting matches +=item How do I reverse a string? -=item Matching repetitions +=item How do I expand tabs in a string? -=item Building a regexp +=item How do I reformat a paragraph? -=item Using regular expressions in Perl +=item How can I access or change N characters of a string? -=back +=item How do I change the Nth occurrence of something? -=item Part 2: Power tools +=item How can I count the number of occurrences of a substring within a +string? -=over 4 +=item How do I capitalize all the words on one line? -=item More on characters, strings, and character classes +=item How can I split a [character] delimited string except when inside +[character]? -=item Compiling and saving regular expressions +=item How do I strip blank space from the beginning/end of a string? -=item Embedding comments and modifiers in a regular expression +=item How do I pad a string with blanks or pad a number with zeroes? -=item Non-capturing groupings +=item How do I extract selected columns from a string? -=item Looking ahead and looking behind +=item How do I find the soundex value of a string? -=item Using independent subexpressions to prevent backtracking +=item How can I expand variables in text strings? -=item Conditional expressions +=item What's wrong with always quoting "$vars"? -=item A bit of magic: executing Perl code in a regular expression +=item Why don't my EEHERE documents work? -=item Pragmas and debugging +There must be no space after the EE part, There (probably) should +be a semicolon at the end, You can't (easily) have any space in front of +the tag =back -=item BUGS - -=item SEE ALSO - -=item AUTHOR AND COPYRIGHT +=item Data: Arrays =over 4 -=item Acknowledgments - -=back - -=back - -=head2 perlre - Perl regular expressions +=item What is the difference between a list and an array? -=over 4 +=item What is the difference between $array[1] and @array[1]? -=item DESCRIPTION +=item How can I remove duplicate elements from a list or array? -i, m, s, x +=item How can I tell whether a certain element is contained in a list or +array? -=over 4 +=item How do I compute the difference of two arrays? How do I compute the +intersection of two arrays? -=item Regular Expressions +=item How do I test whether two arrays or hashes are equal? -[1], [2], [3], cntrl, graph, print, punct, xdigit +=item How do I find the first array element for which a condition is true? -=item Extended Patterns +=item How do I handle linked lists? -C<(?#text)>, C<(?imsx-imsx)>, C<(?:pattern)>, C<(?imsx-imsx:pattern)>, -C<(?=pattern)>, C<(?!pattern)>, C<(?<=pattern)>, C<(?, C<(?{ -code })>, C<(??{ code })>, C<< (?>pattern) >>, -C<(?(condition)yes-pattern|no-pattern)>, C<(?(condition)yes-pattern)> +=item How do I handle circular lists? -=item Backtracking +=item How do I shuffle an array randomly? -=item Version 8 Regular Expressions +=item How do I process/modify each element of an array? -=item Warning on \1 vs $1 +=item How do I select a random element from an array? -=item Repeated patterns matching zero-length substring +=item How do I permute N elements of a list? -=item Combining pieces together +=item How do I sort an array by (anything)? -C, C, C, C, C, C, -C, C, C, C, C, C<< (?>S) >>, C<(?=S)>, C<(?<=S)>, -C<(?!S)>, C<(?, C<(??{ EXPR })>, -C<(?(condition)yes-pattern|no-pattern)> +=item How do I manipulate arrays of bits? -=item Creating custom RE engines +=item Why does defined() return true on empty arrays and hashes? =back -=item BUGS +=item Data: Hashes (Associative Arrays) -=item SEE ALSO +=over 4 -=back +=item How do I process an entire hash? -=head2 perlref - Perl references and nested data structures +=item What happens if I add or remove keys from a hash while iterating over +it? -=over 4 +=item How do I look up a hash element by value? -=item NOTE +=item How can I know how many entries are in a hash? -=item DESCRIPTION +=item How do I sort a hash (optionally by value instead of key)? -=over 4 +=item How can I always keep my hash sorted? -=item Making References +=item What's the difference between "delete" and "undef" with hashes? -=item Using References +=item Why don't my tied hashes make the defined/exists distinction? -=item Symbolic references +=item How do I reset an each() operation part-way through? -=item Not-so-symbolic references +=item How can I get the unique keys from two hashes? -=item Pseudo-hashes: Using an array as a hash +=item How can I store a multidimensional array in a DBM file? -=item Function Templates +=item How can I make my hash remember the order I put elements into it? -=back +=item Why does passing a subroutine an undefined element in a hash create +it? -=item WARNING +=item How can I make the Perl equivalent of a C structure/C++ class/hash or +array of hashes or arrays? -=item SEE ALSO +=item How can I use a reference as a hash key? =back -=head2 perlform - Perl formats +=item Data: Misc =over 4 -=item DESCRIPTION - -=over 4 +=item How do I handle binary data correctly? -=item Format Variables +=item How do I determine whether a scalar is a number/whole/integer/float? -=back +=item How do I keep persistent data across program calls? -=item NOTES +=item How do I print out or copy a recursive data structure? -=over 4 +=item How do I define methods for every class/object? -=item Footers +=item How do I verify a credit card checksum? -=item Accessing Formatting Internals +=item How do I pack arrays of doubles or floats for XS code? =back -=item WARNINGS +=item AUTHOR AND COPYRIGHT =back -=head2 perlboot - Beginner's Object-Oriented Tutorial +=head2 perlfaq5 - Files and Formats ($Revision: 1.36 $, $Date: 2005/04/22 +19:04:48 $) =over 4 @@ -1387,215 +1276,246 @@ C<(?(condition)yes-pattern|no-pattern)> =over 4 -=item If we could talk to the animals... +=item How do I flush/unbuffer an output filehandle? Why must I do this? -=item Introducing the method invocation arrow +=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 Invoking a barnyard +=item How do I count the number of lines in a file? -=item The extra parameter of method invocation +=item How can I use Perl's C<-i> option from within a program? -=item Calling a second method to simplify things +=item How can I copy a file? -=item Inheriting the windpipes +=item How do I make a temporary file name? -=item A few notes about @ISA +=item How can I manipulate fixed-record-length files? -=item Overriding the methods +=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? -=item Starting the search from a different place +=item How can I use a filehandle indirectly? -=item The SUPER way of doing things +=item How can I set up a footer format to be used with write()? -=item Where we're at so far... +=item How can I write() into a string? -=item A horse is a horse, of course of course -- or is it? +=item How can I output my numbers with commas added? -=item Invoking an instance method +=item How can I translate tildes (~) in a filename? -=item Accessing the instance data +=item How come when I open a file read-write it wipes it out? -=item How to build a horse +=item Why do I sometimes get an "Argument list too long" when I use +E*E? -=item Inheriting the constructor +=item Is there a leak/bug in glob()? -=item Making a method work with either classes or instances +=item How can I open a file with a leading ">" or trailing blanks? -=item Adding parameters to a method +=item How can I reliably rename a file? -=item More interesting instances +=item How can I lock a file? -=item A horse of a different color +=item Why can't I just open(FH, "Efile.lock")? -=item Summary +=item I still don't get locking. I just want to increment the number in +the file. How can I do this? -=back +=item All I want to do is append a small amount of text to the end of a +file. Do I still have to use locking? -=item SEE ALSO +=item How do I randomly update a binary file? -=item COPYRIGHT +=item How do I get a file's timestamp in perl? -=back +=item How do I set a file's timestamp in perl? -=head2 perltoot - Tom's object-oriented tutorial for perl +=item How do I print to more than one file at once? -=over 4 +=item How can I read in an entire file all at once? -=item DESCRIPTION +=item How can I read in a file by paragraphs? -=item Creating a Class +=item How can I read a single character from a file? From the keyboard? -=over 4 +=item How can I tell whether there's a character waiting on a filehandle? -=item Object Representation +=item How do I do a C in perl? -=item Class Interface +=item How do I dup() a filehandle in Perl? -=item Constructors and Instance Methods +=item How do I close a file descriptor by number? -=item Planning for the Future: Better Constructors +=item Why can't I use "C:\temp\foo" in DOS paths? Why doesn't +`C:\temp\foo.exe` work? -=item Destructors +=item Why doesn't glob("*.*") get all the files? -=item Other Object Methods +=item Why does Perl let me delete read-only files? Why does C<-i> clobber +protected files? Isn't this a bug in Perl? + +=item How do I select a random line from a file? + +=item Why do I get weird spaces when I print an array of lines? =back -=item Class Data +=item AUTHOR AND COPYRIGHT -=over 4 +=back -=item Accessing Class Data +=head2 perlfaq6 - Regular Expressions ($Revision: 1.32 $, $Date: 2005/04/22 +19:04:48 $) -=item Debugging Methods +=over 4 -=item Class Destructors +=item DESCRIPTION -=item Documenting the Interface +=over 4 -=back +=item How can I hope to use regular expressions without creating illegible +and unmaintainable code? -=item Aggregation +Comments Outside the Regex, Comments Inside the Regex, Different Delimiters -=item Inheritance +=item I'm having trouble matching over more than one line. What's wrong? -=over 4 +=item How can I pull out lines between two patterns that are themselves on +different lines? -=item Overridden Methods +=item I put a regular expression into $/ but it didn't work. What's wrong? -=item Multiple Inheritance +=item How do I substitute case insensitively on the LHS while preserving +case on the RHS? -=item UNIVERSAL: The Root of All Objects +=item How can I make C<\w> match national character sets? -=back +=item How can I match a locale-smart version of C? -=item Alternate Object Representations +=item How can I quote a variable to use in a regex? -=over 4 +=item What is C really for? -=item Arrays as Objects +=item How do I use a regular expression to strip C style comments from a +file? -=item Closures as Objects +=item Can I use Perl regular expressions to match balanced text? -=back +=item What does it mean that regexes are greedy? How can I get around it? -=item AUTOLOAD: Proxy Methods +=item How do I process each word on each line? -=over 4 +=item How can I print out a word-frequency or line-frequency summary? -=item Autoloaded Data Methods +=item How can I do approximate matching? -=item Inherited Autoloaded Data Methods +=item How do I efficiently match many regular expressions at once? -=back +=item Why don't word-boundary searches with C<\b> work for me? -=item Metaclassical Tools +=item Why does using $&, $`, or $' slow my program down? -=over 4 +=item What good is C<\G> in a regular expression? -=item Class::Struct +=item Are Perl regexes DFAs or NFAs? Are they POSIX compliant? -=item Data Members as Variables +=item What's wrong with using grep in a void context? -=back +=item How can I match strings with multibyte characters? -=item NOTES +=item How do I match a pattern that is supplied by the user? -=over 4 +=back -=item Object Terminology +=item AUTHOR AND COPYRIGHT =back -=item SEE ALSO +=head2 perlfaq7 - General Perl Language Issues ($Revision: 1.23 $, $Date: +2005/04/07 21:39:34 $) -=item AUTHOR AND COPYRIGHT +=over 4 -=item COPYRIGHT +=item DESCRIPTION =over 4 -=item Acknowledgments +=item Can I get a BNF/yacc/RE for the Perl language? -=back +=item What are all these $@%&* punctuation signs, and how do I know when to +use them? -=back +=item Do I always/never have to quote my strings or use semicolons and +commas? -=head2 perltooc - Tom's OO Tutorial for Class Data in Perl +=item How do I skip some return values? -=over 4 +=item How do I temporarily block warnings? -=item DESCRIPTION +=item What's an extension? -=item Class Data in a Can +=item Why do Perl operators have different precedence than C operators? -=item Class Data as Package Variables +=item How do I declare/create a structure? -=over 4 +=item How do I create a module? -=item Putting All Your Eggs in One Basket +=item How do I create a class? -=item Inheritance Concerns +=item How can I tell if a variable is tainted? -=item The Eponymous Meta-Object +=item What's a closure? -=item Indirect References to Class Data +=item What is variable suicide and how can I prevent it? -=item Monadic Classes +=item How can I pass/return a {Function, FileHandle, Array, Hash, Method, +Regex}? -=item Translucent Attributes +Passing Variables and Functions, Passing Filehandles, Passing Regexes, +Passing Methods -=back +=item How do I create a static variable? -=item Class Data as Lexical Variables +=item What's the difference between dynamic and lexical (static) scoping? +Between local() and my()? -=over 4 +=item How can I access a dynamic variable while a similarly named lexical +is in scope? -=item Privacy and Responsibility +=item What's the difference between deep and shallow binding? -=item File-Scoped Lexicals +=item Why doesn't "my($foo) = EFILEE;" work right? -=item More Inheritance Concerns +=item How do I redefine a builtin function, operator, or method? -=item Locking the Door and Throwing Away the Key +=item What's the difference between calling a function as &foo and foo()? -=item Translucency Revisited +=item How do I create a switch or case statement? -=back +=item How can I catch accesses to undefined variables, functions, or +methods? -=item NOTES +=item Why can't a method included in this same file be found? -=item SEE ALSO +=item How can I find out my current package? -=item AUTHOR AND COPYRIGHT +=item How can I comment out a large block of perl code? -=item ACKNOWLEDGEMENTS +=item How do I clear a package? -=item HISTORY +=item How can I use a variable as a variable name? + +=item What does "bad interpreter" mean? =back -=head2 perlobj - Perl objects +=item AUTHOR AND COPYRIGHT + +=back + +=head2 perlfaq8 - System Interaction ($Revision: 1.24 $, $Date: 2005/04/22 +19:04:48 $) =over 4 @@ -1603,945 +1523,1064 @@ C<(?(condition)yes-pattern|no-pattern)> =over 4 -=item An Object is Simply a Reference +=item How do I find out which operating system I'm running under? -=item A Class is Simply a Package +=item How come exec() doesn't return? -=item A Method is Simply a Subroutine +=item How do I do fancy stuff with the keyboard/screen/mouse? -=item Method Invocation +Keyboard, Screen, Mouse -=item Indirect Object Syntax +=item How do I print something out in color? -=item Default UNIVERSAL methods +=item How do I read just one key without waiting for a return key? -isa(CLASS), can(METHOD), VERSION( [NEED] ) +=item How do I check whether input is ready on the keyboard? -=item Destructors +=item How do I clear the screen? -=item Summary +=item How do I get the screen size? -=item Two-Phased Garbage Collection +=item How do I ask the user for a password? -=back +=item How do I read and write the serial port? -=item SEE ALSO +lockfiles, open mode, end of line, flushing output, non-blocking input -=back +=item How do I decode encrypted password files? -=head2 perlbot - Bag'o Object Tricks (the BOT) +=item How do I start a process in the background? -=over 4 +STDIN, STDOUT, and STDERR are shared, Signals, Zombies -=item DESCRIPTION +=item How do I trap control characters/signals? -=item OO SCALING TIPS +=item How do I modify the shadow password file on a Unix system? -=item INSTANCE VARIABLES +=item How do I set the time and date? -=item SCALAR INSTANCE VARIABLES +=item How can I sleep() or alarm() for under a second? -=item INSTANCE VARIABLE INHERITANCE +=item How can I measure time under a second? -=item OBJECT RELATIONSHIPS +=item How can I do an atexit() or setjmp()/longjmp()? (Exception handling) -=item OVERRIDING SUPERCLASS METHODS +=item Why doesn't my sockets program work under System V (Solaris)? What +does the error message "Protocol not supported" mean? -=item USING RELATIONSHIP WITH SDBM +=item How can I call my system's unique C functions from Perl? -=item THINKING OF CODE REUSE +=item Where do I get the include files to do ioctl() or syscall()? -=item CLASS CONTEXT AND THE OBJECT +=item Why do setuid perl scripts complain about kernel problems? -=item INHERITING A CONSTRUCTOR +=item How can I open a pipe both to and from a command? -=item DELEGATION +=item Why can't I get the output of a command with system()? -=back +=item How can I capture STDERR from an external command? -=head2 perltie - how to hide an object class in a simple variable +=item Why doesn't open() return an error when a pipe open fails? -=over 4 +=item What's wrong with using backticks in a void context? -=item SYNOPSIS +=item How can I call backticks without shell processing? -=item DESCRIPTION +=item Why can't my script read from STDIN after I gave it EOF (^D on Unix, +^Z on MS-DOS)? -=over 4 +=item How can I convert my shell script to perl? -=item Tying Scalars +=item Can I use perl to run a telnet or ftp session? -TIESCALAR classname, LIST, FETCH this, STORE this, value, UNTIE this, -DESTROY this +=item How can I write expect in Perl? -=item Tying Arrays +=item Is there a way to hide perl's command line from programs such as +"ps"? -TIEARRAY classname, LIST, FETCH this, index, STORE this, index, value, -FETCHSIZE this, STORESIZE this, count, EXTEND this, count, EXISTS this, -key, DELETE this, key, CLEAR this, PUSH this, LIST, POP this, SHIFT this, -UNSHIFT this, LIST, SPLICE this, offset, length, LIST, UNTIE this, DESTROY -this +=item I {changed directory, modified my environment} in a perl script. How +come the change disappeared when I exited the script? How do I get my +changes to be visible? -=item Tying Hashes +Unix -USER, HOME, CLOBBER, LIST, TIEHASH classname, LIST, FETCH this, key, STORE -this, key, value, DELETE this, key, CLEAR this, EXISTS this, key, FIRSTKEY -this, NEXTKEY this, lastkey, UNTIE this, DESTROY this +=item How do I close a process's filehandle without waiting for it to +complete? -=item Tying FileHandles +=item How do I fork a daemon process? -TIEHANDLE classname, LIST, WRITE this, LIST, PRINT this, LIST, PRINTF this, -LIST, READ this, LIST, READLINE this, GETC this, CLOSE this, UNTIE this, -DESTROY this +=item How do I find out if I'm running interactively or not? -=item UNTIE this +=item How do I timeout a slow event? -=item The C Gotcha +=item How do I set CPU limits? -=back +=item How do I avoid zombies on a Unix system? -=item SEE ALSO +=item How do I use an SQL database? -=item BUGS +=item How do I make a system() exit on control-C? -=item AUTHOR +=item How do I open a file without blocking? -=back +=item How do I tell the difference between errors from the shell and perl? -=head2 perlipc - Perl interprocess communication (signals, fifos, pipes, -safe subprocesses, sockets, and semaphores) +=item How do I install a module from CPAN? -=over 4 +=item What's the difference between require and use? -=item DESCRIPTION +=item How do I keep my own module/library directory? -=item Signals +=item How do I add the directory my program lives in to the module/library +search path? -=over 4 +=item How do I add a directory to my include path (@INC) at runtime? -=item Handling the SIGHUP Signal in Daemons +=item What is socket.ph and where do I get it? =back -=item Named Pipes - -=over 4 +=item AUTHOR AND COPYRIGHT -=item Deferred Signals +=back -Long running opcodes, Interrupting IO, Signals as "faults", Signals -triggered by operating system state +=head2 perlfaq9 - Networking ($Revision: 1.21 $, $Date: 2005/04/22 19:04:48 +$) -=back +=over 4 -=item Using open() for IPC +=item DESCRIPTION =over 4 -=item Filehandles +=item What is the correct form of response from a CGI script? -=item Background Processes +=item My CGI script runs from the command line but not the browser. (500 +Server Error) -=item Complete Dissociation of Child from Parent +=item How can I get better error messages from a CGI program? -=item Safe Pipe Opens +=item How do I remove HTML from a string? -=item Bidirectional Communication with Another Process +=item How do I extract URLs? -=item Bidirectional Communication with Yourself +=item How do I download a file from the user's machine? How do I open a +file on another machine? -=back +=item How do I make a pop-up menu in HTML? -=item Sockets: Client/Server Communication +=item How do I fetch an HTML file? -=over 4 +=item How do I automate an HTML form submission? -=item Internet Line Terminators +=item How do I decode or create those %-encodings on the web? -=item Internet TCP Clients and Servers +=item How do I redirect to another page? -=item Unix-Domain TCP Clients and Servers +=item How do I put a password on my web pages? -=back +=item How do I edit my .htpasswd and .htgroup files with Perl? -=item TCP Clients with IO::Socket +=item How do I make sure users can't enter values into a form that cause my +CGI script to do bad things? -=over 4 +=item How do I parse a mail header? -=item A Simple Client +=item How do I decode a CGI form? -C, C, C +=item How do I check a valid mail address? -=item A Webget Client +=item How do I decode a MIME/BASE64 string? -=item Interactive Client with IO::Socket +=item How do I return the user's mail address? -=back +=item How do I send mail? -=item TCP Servers with IO::Socket +=item How do I use MIME to make an attachment to a mail message? -Proto, LocalPort, Listen, Reuse +=item How do I read mail? -=item UDP: Message Passing +=item How do I find out my hostname/domainname/IP address? -=item SysV IPC +=item How do I fetch a news article or the active newsgroups? -=item NOTES +=item How do I fetch/put an FTP file? -=item BUGS +=item How can I do RPC in Perl? -=item AUTHOR +=back -=item SEE ALSO +=item AUTHOR AND COPYRIGHT =back -=head2 perlfork - Perl's fork() emulation (EXPERIMENTAL, subject to change) +=head2 perlsyn - Perl syntax =over 4 -=item SYNOPSIS - =item DESCRIPTION =over 4 -=item Behavior of other Perl features in forked pseudo-processes +=item Declarations -$$ or $PROCESS_ID, %ENV, chdir() and all other builtins that accept -filenames, wait() and waitpid(), kill(), exec(), exit(), Open handles to -files, directories and network sockets +=item Comments -=item Resource limits +=item Simple Statements -=item Killing the parent process +=item Truth and Falsehood -=item Lifetime of the parent process and pseudo-processes +=item Statement Modifiers -=item CAVEATS AND LIMITATIONS +=item Compound Statements -BEGIN blocks, Open filehandles, Forking pipe open() not yet implemented, -Global state maintained by XSUBs, Interpreter embedded in larger -application, Thread-safety of extensions +=item Loop Control -=back +=item For Loops -=item BUGS +=item Foreach Loops -=item AUTHOR +=item Basic BLOCKs and Switch Statements -=item SEE ALSO +=item Goto + +=item PODs: Embedded Documentation + +=item Plain Old Comments (Not!) =back -=head2 perlnumber - semantics of numbers and numeric operations in Perl +=back -=over 4 +=head2 perldata - Perl data types -=item SYNOPSIS +=over 4 =item DESCRIPTION -=item Storing numbers +=over 4 -=item Numeric operators and numeric conversions +=item Variable names -=item Flavors of Perl numeric operations +=item Context -Arithmetic operators except, C, Arithmetic operators except, -C, Bitwise operators, C, Bitwise operators, C, Operators which expect an integer, Operators which expect a -string +=item Scalar values -=item AUTHOR +=item Scalar value constructors -=item SEE ALSO +=item List value constructors -=back +=item Subscripts -=head2 perlthrtut - tutorial on threads in Perl +=item Slices -=over 4 +=item Typeglobs and Filehandles -=item DESCRIPTION +=back -=item Status +=item SEE ALSO -=item What Is A Thread Anyway? +=back -=item Threaded Program Models +=head2 perlop - Perl operators and precedence =over 4 -=item Boss/Worker - -=item Work Crew - -=item Pipeline +=item DESCRIPTION -=back +=over 4 -=item Native threads +=item Operator Precedence and Associativity -=item What kind of threads are Perl threads? +=item Terms and List Operators (Leftward) -=item Threadsafe Modules +=item The Arrow Operator -=item Thread Basics +=item Auto-increment and Auto-decrement -=over 4 +=item Exponentiation -=item Basic Thread Support +=item Symbolic Unary Operators -=item Creating Threads +=item Binding Operators -=item Giving up control +=item Multiplicative Operators -=item Waiting For A Thread To Exit +=item Additive Operators -=item Ignoring A Thread +=item Shift Operators -=back +=item Named Unary Operators -=item Threads And Data +=item Relational Operators -=over 4 +=item Equality Operators -=item Shared And Unshared Data +=item Bitwise And -=item Thread Pitfalls: Races +=item Bitwise Or and Exclusive Or -=back +=item C-style Logical And -=item Synchronization and control +=item C-style Logical Or -=over 4 +=item C-style Logical Defined-Or -=item Controlling access: lock() +=item Range Operators -=item A Thread Pitfall: Deadlocks +=item Conditional Operator -=item Queues: Passing Data Around +=item Assignment Operators -=item Semaphores: Synchronizing Data Access +=item Comma Operator -=item Basic semaphores +=item List Operators (Rightward) -=item Advanced Semaphores +=item Logical Not -=item cond_wait() and cond_signal() +=item Logical And -=back +=item Logical or, Defined or, and Exclusive Or -=item General Thread Utility Routines +=item C Operators Missing From Perl -=over 4 +unary &, unary *, (TYPE) -=item What Thread Am I In? +=item Quote and Quote-like Operators -=item Thread IDs +=item Regexp Quote-Like Operators -=item Are These Threads The Same? - -=item What Threads Are Running? - -=back +?PATTERN?, m/PATTERN/cgimosx, /PATTERN/cgimosx, q/STRING/, C<'STRING'>, +qq/STRING/, "STRING", qr/STRING/imosx, qx/STRING/, `STRING`, qw/STRING/, +s/PATTERN/REPLACEMENT/egimosx, tr/SEARCHLIST/REPLACEMENTLIST/cds, +y/SEARCHLIST/REPLACEMENTLIST/cds, <, C, C, C, C, C<''>, C, C<"">, +C<``>, C, C, C<< >>, C, C, C, +C,, Interpolation of regular expressions, Optimization of +regular expressions -=item Threadsafety of System Libraries +=item I/O Operators -=item Conclusion +=item Constant Folding -=item Bibliography +=item No-ops -=over 4 +=item Bitwise String Operators -=item Introductory Texts +=item Integer Arithmetic -=item OS-Related References +=item Floating-point Arithmetic -=item Other References +=item Bigger Numbers =back -=item Acknowledgements +=back -=item AUTHOR +=head2 perlsub - Perl subroutines -=item Copyrights +=over 4 -=back +=item SYNOPSIS -=head2 perlothrtut - old tutorial on threads in Perl +=item DESCRIPTION =over 4 -=item DESCRIPTION +=item Private Variables via my() -=item What Is A Thread Anyway? +=item Persistent Private Variables -=item Threaded Program Models +=item Temporary Values via local() -=over 4 +=item Lvalue subroutines -=item Boss/Worker +Lvalue subroutines are EXPERIMENTAL -=item Work Crew +=item Passing Symbol Table Entries (typeglobs) -=item Pipeline +=item When to Still Use local() + +=item Pass by Reference + +=item Prototypes + +=item Constant Functions + +=item Overriding Built-in Functions + +=item Autoloading + +=item Subroutine Attributes =back -=item Native threads +=item SEE ALSO -=item What kind of threads are perl threads? +=back -=item Threadsafe Modules +=head2 perlfunc - Perl builtin functions -=item Thread Basics +=over 4 + +=item DESCRIPTION =over 4 -=item Basic Thread Support +=item Perl Functions by Category -=item Creating Threads +Functions for SCALARs or strings, Regular expressions and pattern matching, +Numeric functions, Functions for real @ARRAYs, Functions for list data, +Functions for real %HASHes, Input and output functions, Functions for fixed +length data or records, Functions for filehandles, files, or directories, +Keywords related to the control flow of your perl program, Keywords related +to scoping, Miscellaneous functions, Functions for processes and process +groups, Keywords related to perl modules, Keywords related to classes and +object-orientedness, Low-level socket functions, System V interprocess +communication functions, Fetching user and group info, Fetching network +info, Time-related functions, Functions new in perl5, Functions obsoleted +in perl5 -=item Giving up control +=item Portability -=item Waiting For A Thread To Exit +=item Alphabetical Listing of Perl Functions -=item Errors In Threads +-I FILEHANDLE, -I EXPR, -I, abs VALUE, abs, accept +NEWSOCKET,GENERICSOCKET, alarm SECONDS, alarm, atan2 Y,X, bind SOCKET,NAME, +binmode FILEHANDLE, LAYER, binmode FILEHANDLE, bless REF,CLASSNAME, bless +REF, caller EXPR, caller, chdir EXPR, chmod LIST, chomp VARIABLE, chomp( +LIST ), chomp, chop VARIABLE, chop( LIST ), chop, chown LIST, chr NUMBER, +chr, chroot FILENAME, chroot, close FILEHANDLE, close, closedir DIRHANDLE, +connect SOCKET,NAME, continue BLOCK, cos EXPR, cos, crypt PLAINTEXT,SALT, +dbmclose HASH, dbmopen HASH,DBNAME,MASK, defined EXPR, defined, delete +EXPR, die LIST, do BLOCK, do SUBROUTINE(LIST), do EXPR, dump LABEL, dump, +each HASH, eof FILEHANDLE, eof (), eof, eval EXPR, eval BLOCK, exec LIST, +exec PROGRAM LIST, exists EXPR, exit EXPR, exp EXPR, exp, fcntl +FILEHANDLE,FUNCTION,SCALAR, fileno FILEHANDLE, flock FILEHANDLE,OPERATION, +fork, format, formline PICTURE,LIST, getc FILEHANDLE, getc, getlogin, +getpeername SOCKET, getpgrp PID, getppid, getpriority WHICH,WHO, getpwnam +NAME, getgrnam NAME, gethostbyname NAME, getnetbyname NAME, getprotobyname +NAME, getpwuid UID, getgrgid GID, getservbyname NAME,PROTO, gethostbyaddr +ADDR,ADDRTYPE, getnetbyaddr ADDR,ADDRTYPE, getprotobynumber NUMBER, +getservbyport PORT,PROTO, getpwent, getgrent, gethostent, getnetent, +getprotoent, getservent, setpwent, setgrent, sethostent STAYOPEN, setnetent +STAYOPEN, setprotoent STAYOPEN, setservent STAYOPEN, endpwent, endgrent, +endhostent, endnetent, endprotoent, endservent, getsockname SOCKET, +getsockopt SOCKET,LEVEL,OPTNAME, glob EXPR, glob, gmtime EXPR, goto LABEL, +goto EXPR, goto &NAME, grep BLOCK LIST, grep EXPR,LIST, hex EXPR, hex, +import, index STR,SUBSTR,POSITION, index STR,SUBSTR, int EXPR, int, ioctl +FILEHANDLE,FUNCTION,SCALAR, join EXPR,LIST, keys HASH, kill SIGNAL, LIST, +last LABEL, last, lc EXPR, lc, lcfirst EXPR, lcfirst, length EXPR, length, +link OLDFILE,NEWFILE, listen SOCKET,QUEUESIZE, local EXPR, localtime EXPR, +localtime, lock THING, log EXPR, log, lstat EXPR, lstat, m//, map BLOCK +LIST, map EXPR,LIST, mkdir FILENAME,MASK, mkdir FILENAME, mkdir, msgctl +ID,CMD,ARG, msgget KEY,FLAGS, msgrcv ID,VAR,SIZE,TYPE,FLAGS, msgsnd +ID,MSG,FLAGS, my EXPR, my TYPE EXPR, my EXPR : ATTRS, my TYPE EXPR : ATTRS, +next LABEL, next, no Module VERSION LIST, no Module VERSION, no Module +LIST, no Module, oct EXPR, oct, open FILEHANDLE,EXPR, open +FILEHANDLE,MODE,EXPR, open FILEHANDLE,MODE,EXPR,LIST, open +FILEHANDLE,MODE,REFERENCE, open FILEHANDLE, opendir DIRHANDLE,EXPR, ord +EXPR, ord, our EXPR, our EXPR TYPE, our EXPR : ATTRS, our TYPE EXPR : +ATTRS, pack TEMPLATE,LIST, package NAMESPACE, package, pipe +READHANDLE,WRITEHANDLE, pop ARRAY, pop, pos SCALAR, pos, print FILEHANDLE +LIST, print LIST, print, printf FILEHANDLE FORMAT, LIST, printf FORMAT, +LIST, prototype FUNCTION, push ARRAY,LIST, q/STRING/, qq/STRING/, +qr/STRING/, qx/STRING/, qw/STRING/, quotemeta EXPR, quotemeta, rand EXPR, +rand, read FILEHANDLE,SCALAR,LENGTH,OFFSET, read FILEHANDLE,SCALAR,LENGTH, +readdir DIRHANDLE, readline EXPR, readlink EXPR, readlink, readpipe EXPR, +recv SOCKET,SCALAR,LENGTH,FLAGS, redo LABEL, redo, ref EXPR, ref, rename +OLDNAME,NEWNAME, require VERSION, require EXPR, require, reset EXPR, reset, +return EXPR, return, reverse LIST, rewinddir DIRHANDLE, rindex +STR,SUBSTR,POSITION, rindex STR,SUBSTR, rmdir FILENAME, rmdir, s///, scalar +EXPR, seek FILEHANDLE,POSITION,WHENCE, seekdir DIRHANDLE,POS, select +FILEHANDLE, select, select RBITS,WBITS,EBITS,TIMEOUT, semctl +ID,SEMNUM,CMD,ARG, semget KEY,NSEMS,FLAGS, semop KEY,OPSTRING, send +SOCKET,MSG,FLAGS,TO, send SOCKET,MSG,FLAGS, setpgrp PID,PGRP, setpriority +WHICH,WHO,PRIORITY, setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL, shift ARRAY, +shift, shmctl ID,CMD,ARG, shmget KEY,SIZE,FLAGS, shmread ID,VAR,POS,SIZE, +shmwrite ID,STRING,POS,SIZE, shutdown SOCKET,HOW, sin EXPR, sin, sleep +EXPR, sleep, socket SOCKET,DOMAIN,TYPE,PROTOCOL, socketpair +SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL, sort SUBNAME LIST, sort BLOCK LIST, +sort LIST, splice ARRAY,OFFSET,LENGTH,LIST, splice ARRAY,OFFSET,LENGTH, +splice ARRAY,OFFSET, splice ARRAY, split /PATTERN/,EXPR,LIMIT, split +/PATTERN/,EXPR, split /PATTERN/, split, sprintf FORMAT, LIST, format +parameter index, flags, vector flag, (minimum) width, precision, or maximum +width, size, order of arguments, sqrt EXPR, sqrt, srand EXPR, srand, stat +FILEHANDLE, stat EXPR, stat, study SCALAR, study, sub NAME BLOCK, sub NAME +(PROTO) BLOCK, sub NAME : ATTRS BLOCK, sub NAME (PROTO) : ATTRS BLOCK, +substr EXPR,OFFSET,LENGTH,REPLACEMENT, substr EXPR,OFFSET,LENGTH, substr +EXPR,OFFSET, symlink OLDFILE,NEWFILE, syscall NUMBER, LIST, sysopen +FILEHANDLE,FILENAME,MODE, sysopen FILEHANDLE,FILENAME,MODE,PERMS, sysread +FILEHANDLE,SCALAR,LENGTH,OFFSET, sysread FILEHANDLE,SCALAR,LENGTH, sysseek +FILEHANDLE,POSITION,WHENCE, system LIST, system PROGRAM LIST, syswrite +FILEHANDLE,SCALAR,LENGTH,OFFSET, syswrite FILEHANDLE,SCALAR,LENGTH, +syswrite FILEHANDLE,SCALAR, tell FILEHANDLE, tell, telldir DIRHANDLE, tie +VARIABLE,CLASSNAME,LIST, tied VARIABLE, time, times, tr///, truncate +FILEHANDLE,LENGTH, truncate EXPR,LENGTH, uc EXPR, uc, ucfirst EXPR, +ucfirst, umask EXPR, umask, undef EXPR, undef, unlink LIST, unlink, unpack +TEMPLATE,EXPR, unpack TEMPLATE, untie VARIABLE, unshift ARRAY,LIST, use +Module VERSION LIST, use Module VERSION, use Module LIST, use Module, use +VERSION, utime LIST, values HASH, vec EXPR,OFFSET,BITS, wait, waitpid +PID,FLAGS, wantarray, warn LIST, write FILEHANDLE, write EXPR, write, y/// -=item Ignoring A Thread +=back =back -=item Threads And Data +=head2 perlopentut - tutorial on opening things in Perl =over 4 -=item Shared And Unshared Data - -=item Thread Pitfall: Races +=item DESCRIPTION -=item Controlling access: lock() +=item Open E la shell -=item Thread Pitfall: Deadlocks +=over 4 -=item Queues: Passing Data Around +=item Simple Opens -=back +=item Indirect Filehandles -=item Threads And Code +=item Pipe Opens -=over 4 +=item The Minus File -=item Semaphores: Synchronizing Data Access +=item Mixing Reads and Writes -Basic semaphores, Advanced Semaphores +=item Filters -=item Attributes: Restricting Access To Subroutines +=back -=item Subroutine Locks +=item Open E la C -=item Methods +=over 4 -=item Locking A Subroutine +=item Permissions E la mode =back -=item General Thread Utility Routines +=item Obscure Open Tricks =over 4 -=item What Thread Am I In? +=item Re-Opening Files (dups) -=item Thread IDs +=item Dispelling the Dweomer -=item Are These Threads The Same? +=item Paths as Opens -=item What Threads Are Running? +=item Single Argument Open + +=item Playing with STDIN and STDOUT =back -=item A Complete Example +=item Other I/O Issues -=item Conclusion +=over 4 -=item Bibliography +=item Opening Non-File Files -=over 4 +=item Opening Named Pipes -=item Introductory Texts +=item Opening Sockets -=item OS-Related References +=item Binary Files -=item Other References +=item File Locking + +=item IO Layers =back -=item Acknowledgements +=item SEE ALSO -=item AUTHOR +=item AUTHOR and COPYRIGHT -=item Copyrights +=item HISTORY =back -=head2 perlport - Writing portable Perl +=head2 perlpacktut - tutorial on C and C =over 4 =item DESCRIPTION -Not all Perl programs have to be portable, Nearly all of Perl already I -portable +=item The Basic Principle -=item ISSUES +=item Packing Text -=over 4 +=item Packing Numbers -=item Newlines +=over 4 -=item Numbers endianness and Width +=item Integers -=item Files and Filesystems +=item Unpacking a Stack Frame -=item System Interaction +=item How to Eat an Egg on a Net -=item Command names versus file pathnames +=item Byte-order modifiers -=item Interprocess Communication (IPC) +=item Floating point Numbers -=item External Subroutines (XS) +=back -=item Standard Modules +=item Exotic Templates -=item Time and Date +=over 4 -=item Character sets and character encoding +=item Bit Strings -=item Internationalisation +=item Uuencoding -=item System Resources +=item Doing Sums -=item Security +=item Unicode -=item Style +=item Another Portable Binary Encoding =back -=item CPAN Testers - -Mailing list: cpan-testers@perl.org, Testing results: -http://testers.cpan.org/ +=item Template Grouping -=item PLATFORMS +=item Lengths and Widths =over 4 -=item Unix - -=item DOS and Derivatives +=item String Lengths -=item S +=item Dynamic Templates -=item VMS +=item Counting Repetitions -=item VOS +=back -=item EBCDIC Platforms +=item Packing and Unpacking C Structures -=item Acorn RISC OS +=over 4 -=item Other perls +=item The Alignment Pit -=back +=item Dealing with Endian-ness -=item FUNCTION IMPLEMENTATIONS +=item Alignment, Take 2 -=over 4 +=item Alignment, Take 3 -=item Alphabetical Listing of Perl Functions +=item Pointers for How to Use Them --I FILEHANDLE, -I EXPR, -I, alarm SECONDS, alarm, binmode -FILEHANDLE, chmod LIST, chown LIST, chroot FILENAME, chroot, crypt -PLAINTEXT,SALT, dbmclose HASH, dbmopen HASH,DBNAME,MODE, dump LABEL, exec -LIST, exit EXPR, exit, fcntl FILEHANDLE,FUNCTION,SCALAR, flock -FILEHANDLE,OPERATION, fork, getlogin, getpgrp PID, getppid, getpriority -WHICH,WHO, getpwnam NAME, getgrnam NAME, getnetbyname NAME, getpwuid UID, -getgrgid GID, getnetbyaddr ADDR,ADDRTYPE, getprotobynumber NUMBER, -getservbyport PORT,PROTO, getpwent, getgrent, gethostent, getnetent, -getprotoent, getservent, sethostent STAYOPEN, setnetent STAYOPEN, -setprotoent STAYOPEN, setservent STAYOPEN, endpwent, endgrent, endhostent, -endnetent, endprotoent, endservent, getsockopt SOCKET,LEVEL,OPTNAME, glob -EXPR, glob, ioctl FILEHANDLE,FUNCTION,SCALAR, kill SIGNAL, LIST, link -OLDFILE,NEWFILE, lstat FILEHANDLE, lstat EXPR, lstat, msgctl ID,CMD,ARG, -msgget KEY,FLAGS, msgsnd ID,MSG,FLAGS, msgrcv ID,VAR,SIZE,TYPE,FLAGS, open -FILEHANDLE,EXPR, open FILEHANDLE, pipe READHANDLE,WRITEHANDLE, readlink -EXPR, readlink, select RBITS,WBITS,EBITS,TIMEOUT, semctl ID,SEMNUM,CMD,ARG, -semget KEY,NSEMS,FLAGS, semop KEY,OPSTRING, setgrent, setpgrp PID,PGRP, -setpriority WHICH,WHO,PRIORITY, setpwent, setsockopt -SOCKET,LEVEL,OPTNAME,OPTVAL, shmctl ID,CMD,ARG, shmget KEY,SIZE,FLAGS, -shmread ID,VAR,POS,SIZE, shmwrite ID,STRING,POS,SIZE, sockatmark SOCKET, -socketpair SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL, stat FILEHANDLE, stat -EXPR, stat, symlink OLDFILE,NEWFILE, syscall LIST, sysopen -FILEHANDLE,FILENAME,MODE,PERMS, system LIST, times, truncate -FILEHANDLE,LENGTH, truncate EXPR,LENGTH, umask EXPR, umask, utime LIST, -wait, waitpid PID,FLAGS - -=back - -=item CHANGES - -v1.48, 02 February 2001, v1.47, 22 March 2000, v1.46, 12 February 2000, -v1.45, 20 December 1999, v1.44, 19 July 1999, v1.43, 24 May 1999, v1.42, 22 -May 1999, v1.41, 19 May 1999, v1.40, 11 April 1999, v1.39, 11 February -1999, v1.38, 31 December 1998, v1.37, 19 December 1998, v1.36, 9 September -1998, v1.35, 13 August 1998, v1.33, 06 August 1998, v1.32, 05 August 1998, -v1.30, 03 August 1998, v1.23, 10 July 1998 +=back -=item Supported Platforms +=item Pack Recipes -=item SEE ALSO +=item Funnies Section -=item AUTHORS / CONTRIBUTORS +=item Authors =back -=head2 perllocale - Perl locale handling (internationalization and -localization) +=head2 perlpod - the Plain Old Documentation format =over 4 =item DESCRIPTION -=item PREPARING TO USE LOCALES - -=item USING LOCALES - =over 4 -=item The use locale pragma +=item Ordinary Paragraph -=item The setlocale function +=item Verbatim Paragraph -=item Finding locales +=item Command Paragraph -=item LOCALE PROBLEMS +C<=head1 I>, C<=head2 I>, C<=head3 I>, C<=head4 I>, C<=over I>, C<=item +I>, C<=back>, C<=cut>, C<=pod>, C<=begin I>, C<=end +I>, C<=for I I>, C<=encoding +I> -=item Temporarily fixing locale problems +=item Formatting Codes -=item Permanently fixing locale problems +CtextE> -- italic text, CtextE> -- bold text, +CcodeE> -- code text, CnameE> -- a hyperlink, +CescapeE> -- a character escape, CfilenameE> -- used +for filenames, CtextE> -- text contains non-breaking spaces, +Ctopic nameE> -- an index entry, CE> -- a null +(zero-effect) formatting code -=item Permanently fixing your system's locale configuration +=item The Intent -=item Fixing system locale configuration +=item Embedding Pods in Perl Modules -=item The localeconv function +=item Hints for Writing Pod -=item I18N::Langinfo +=back + +=item SEE ALSO + +=item AUTHOR =back -=item LOCALE CATEGORIES +=head2 perlpodspec - Plain Old Documentation: format specification and +notes =over 4 -=item Category LC_COLLATE: Collation +=item DESCRIPTION -=item Category LC_CTYPE: Character Types +=item Pod Definitions -=item Category LC_NUMERIC: Numeric Formatting +=item Pod Commands -=item Category LC_MONETARY: Formatting of monetary amounts +"=head1", "=head2", "=head3", "=head4", "=pod", "=cut", "=over", "=item", +"=back", "=begin formatname", "=end formatname", "=for formatname text...", +"=encoding encodingname" -=item LC_TIME +=item Pod Formatting Codes -=item Other categories +CtextE> -- italic text, CtextE> -- bold text, +CcodeE> -- code text, CfilenameE> -- style for +filenames, Ctopic nameE> -- an index entry, CE> -- a +null (zero-effect) formatting code, CnameE> -- a hyperlink, +CescapeE> -- a character escape, CtextE> -- text +contains non-breaking spaces -=back +=item Notes on Implementing Pod Processors -=item SECURITY +=item About LE...E Codes -=item ENVIRONMENT +First:, Second:, Third:, Fourth:, Fifth:, Sixth: -PERL_BADLANG, LC_ALL, LANGUAGE, LC_CTYPE, LC_COLLATE, LC_MONETARY, -LC_NUMERIC, LC_TIME, LANG +=item About =over...=back Regions -=item NOTES +=item About Data Paragraphs and "=begin/=end" Regions -=over 4 +=item SEE ALSO -=item Backward compatibility +=item AUTHOR -=item I18N:Collate obsolete +=back -=item Sort speed and memory use impacts +=head2 perlrun - how to execute the Perl interpreter -=item write() and LC_NUMERIC +=over 4 -=item Freely available locale definitions +=item SYNOPSIS -=item I18n and l10n +=item DESCRIPTION -=item An imperfect standard +=over 4 -=back +=item #! and quoting on non-Unix systems -=item Unicode and UTF-8 +OS/2, MS-DOS, Win95/NT, Macintosh, VMS -=item BUGS +=item Location of Perl -=over 4 +=item Command Switches -=item Broken systems +B<-0>[I], B<-A[I][=I]>, B<-a>, B<-C +[I]>, B<-c>, B<-d>, B<-dt>, B<-d:>I, +B<-dt:>I, B<-D>I, B<-D>I, B<-e> +I, B<-f>, B<-F>I, B<-h>, B<-i>[I], +B<-I>I, B<-l>[I], B<-m>[B<->]I, +B<-M>[B<->]I, B<-M>[B<->]I<'module ...'>, +B<-[mM]>[B<->]I, B<-n>, B<-p>, B<-P>, B<-s>, B<-S>, +B<-t>, B<-T>, B<-u>, B<-U>, B<-v>, B<-V>, B<-V:>I, B<-w>, B<-W>, +B<-X>, B<-x>, B<-x> I =back -=item SEE ALSO +=item ENVIRONMENT -=item HISTORY +HOME, LOGDIR, PATH, PERL5LIB, PERL5OPT, PERLIO, :bytes, :crlf, :mmap, +:perlio, :pop, :raw, :stdio, :unix, :utf8, :win32, PERLIO_DEBUG, PERLLIB, +PERL5DB, PERL5DB_THREADED, PERL5SHELL (specific to the Win32 port), +PERL_ALLOW_NON_IFS_LSP (specific to the Win32 port), PERL_DEBUG_MSTATS, +PERL_DESTRUCT_LEVEL, PERL_DL_NONLAZY, PERL_ENCODING, PERL_HASH_SEED, +PERL_HASH_SEED_DEBUG, PERL_ROOT (specific to the VMS port), PERL_SIGNALS, +PERL_UNICODE, SYS$LOGIN (specific to the VMS port) =back -=head2 perluniintro - Perl Unicode introduction +=head2 perldiag - various Perl diagnostics =over 4 =item DESCRIPTION -=over 4 - -=item Unicode - -=item Perl's Unicode Support - -=item Perl's Unicode Model +=back -=item Unicode and EBCDIC +=head2 perllexwarn - Perl Lexical Warnings -=item Creating Unicode +=over 4 -=item Handling Unicode +=item DESCRIPTION -=item Legacy Encodings +=over 4 -=item Unicode I/O +=item Default Warnings and Optional Warnings -=item Displaying Unicode As Text +=item What's wrong with B<-w> and C<$^W> -=item Special Cases +=item Controlling Warnings from the Command Line -=item Advanced Topics +B<-w>, B<-W>, B<-X> -=item Miscellaneous +=item Backward Compatibility -=item Questions With Answers +=item Category Hierarchy -=item Hexadecimal Notation +=item Fatal Warnings -=item Further Resources +=item Reporting Warnings from a Module =back -=item UNICODE IN OLDER PERLS +=item TODO =item SEE ALSO -=item ACKNOWLEDGMENTS - -=item AUTHOR, COPYRIGHT, AND LICENSE +=item AUTHOR =back -=head2 perlunicode - Unicode support in Perl +=head2 perldebug - Perl debugging =over 4 =item DESCRIPTION +=item The Perl Debugger + =over 4 -=item Important Caveats +=item Debugger Commands -Input and Output Disciplines, Regular Expressions, C still needed -to enable UTF-8/UTF-EBCDIC in scripts +h, h [command], h h, p expr, x [maxdepth] expr, V [pkg [vars]], X [vars], y +[level [vars]], T, s [expr], n [expr], r, , c [line|sub], l, l +min+incr, l min-max, l line, l subname, -, v [line], f filename, /pattern/, +?pattern?, L [abw], S [[!]regex], t, t expr, b, b [line] [condition], b +subname [condition], b postpone subname [condition], b load filename, b +compile subname, B line, B *, a [line] command, A line, A *, w expr, W +expr, W *, o, o booloption .., o anyoption? .., o option=value .., < ?, < [ +command ], < *, << command, > ?, > command, > *, >> command, { ?, { [ +command ], { *, {{ command, ! number, ! -number, ! pattern, !! cmd, source +file, H -number, q or ^D, R, |dbcmd, ||dbcmd, command, m expr, M, man +[manpage] -=item Byte and Character Semantics +=item Configurable Options -=item Effects of Character Semantics +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, C, +C -=item Scripts +=item Debugger input/output -=item Blocks +Prompt, Multiline commands, Stack backtrace, Line Listing Format, Frame +listing -=item User-Defined Character Properties +=item Debugging compile-time statements -=item Character Encodings for Input and Output +=item Debugger Customization -=item Unicode Regular Expression Support Level +=item Readline Support -=item Unicode Encodings +=item Editor Support for Debugging -=item Security Implications of Unicode +=item The Perl Profiler -=item Unicode in Perl on EBCDIC +=back -=item Locales +=item Debugging regular expressions -=item Using Unicode in XS +=item Debugging memory usage -=back +=item SEE ALSO =item BUGS +=back + +=head2 perlvar - Perl predefined variables + =over 4 -=item Interaction with Locales +=item DESCRIPTION -=item Interaction with Extensions +=over 4 -=item Speed +=item Predefined Names + +$ARG, $_, $a, $b, $>, $MATCH, $&, $PREMATCH, $`, $POSTMATCH, $', +$LAST_PAREN_MATCH, $+, $^N, @LAST_MATCH_END, @+, +HANDLE->input_line_number(EXPR), $INPUT_LINE_NUMBER, $NR, $, +IO::Handle->input_record_separator(EXPR), $INPUT_RECORD_SEPARATOR, $RS, $/, +HANDLE->autoflush(EXPR), $OUTPUT_AUTOFLUSH, $|, +IO::Handle->output_field_separator EXPR, $OUTPUT_FIELD_SEPARATOR, $OFS, $,, +IO::Handle->output_record_separator EXPR, $OUTPUT_RECORD_SEPARATOR, $ORS, +$\, $LIST_SEPARATOR, $", $SUBSCRIPT_SEPARATOR, $SUBSEP, $;, $#, +HANDLE->format_page_number(EXPR), $FORMAT_PAGE_NUMBER, $%, +HANDLE->format_lines_per_page(EXPR), $FORMAT_LINES_PER_PAGE, $=, +HANDLE->format_lines_left(EXPR), $FORMAT_LINES_LEFT, $-, @LAST_MATCH_START, +@-, C<$`> is the same as C, C<$&> is the same as +C, C<$'> is the same as C, C<$1> is the same as C, C<$2> +is the same as C, C<$3> is the same as +C, HANDLE->format_name(EXPR), +$FORMAT_NAME, $~, HANDLE->format_top_name(EXPR), $FORMAT_TOP_NAME, $^, +IO::Handle->format_line_break_characters EXPR, +$FORMAT_LINE_BREAK_CHARACTERS, $:, IO::Handle->format_formfeed EXPR, +$FORMAT_FORMFEED, $^L, $ACCUMULATOR, $^A, $CHILD_ERROR, $?, +${^CHILD_ERROR_NATIVE}, ${^ENCODING}, $OS_ERROR, $ERRNO, $!, %!, +$EXTENDED_OS_ERROR, $^E, $EVAL_ERROR, $@, $PROCESS_ID, $PID, $$, +$REAL_USER_ID, $UID, $<, $EFFECTIVE_USER_ID, $EUID, $>, $REAL_GROUP_ID, +$GID, $(, $EFFECTIVE_GROUP_ID, $EGID, $), $PROGRAM_NAME, $0, $[, $], +$COMPILING, $^C, $DEBUGGING, $^D, ${^RE_DEBUG_FLAGS}, ${^RE_TRIE_MAXBUF}, +$SYSTEM_FD_MAX, $^F, $^H, %^H, $INPLACE_EDIT, $^I, $^M, $OSNAME, $^O, +${^OPEN}, $PERLDB, $^P, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, +0x100, 0x200, 0x400, $LAST_REGEXP_CODE_RESULT, $^R, +$EXCEPTIONS_BEING_CAUGHT, $^S, $BASETIME, $^T, ${^TAINT}, ${^UNICODE}, +${^UTF8LOCALE}, $PERL_VERSION, $^V, $WARNING, $^W, ${^WARNING_BITS}, +$EXECUTABLE_NAME, $^X, ARGV, $ARGV, @ARGV, ARGVOUT, @F, @INC, @_, %INC, +%ENV, $ENV{expr}, %SIG, $SIG{expr} + +=item Error Indicators + +=item Technical Note on the Syntax of Variable Names =back -=item SEE ALSO +=item BUGS =back -=head2 perlebcdic - Considerations for running Perl on EBCDIC platforms +=head2 perlre - Perl regular expressions =over 4 =item DESCRIPTION -=item COMMON CHARACTER CODE SETS +i, m, s, x =over 4 -=item ASCII - -=item ISO 8859 +=item Regular Expressions -=item Latin 1 (ISO 8859-1) +[1], [2], [3], cntrl, graph, print, punct, xdigit -=item EBCDIC +=item Extended Patterns -=item 13 variant characters +C<(?#text)>, C<(?imsx-imsx)>, C<(?:pattern)>, C<(?imsx-imsx:pattern)>, +C<(?=pattern)>, C<(?!pattern)>, C<(?<=pattern)>, C<(?, C<(?{ +code })>, C<(??{ code })>, C<< (?>pattern) >>, +C<(?(condition)yes-pattern|no-pattern)>, C<(?(condition)yes-pattern)> -=item 0037 +=item Backtracking -=item 1047 +=item Version 8 Regular Expressions -=item POSIX-BC +=item Warning on \1 vs $1 -=item Unicode code points versus EBCDIC code points +=item Repeated patterns matching zero-length substring -=item Remaining Perl Unicode problems in EBCDIC +=item Combining pieces together -=item Unicode and UTF +C, C, C, C, C, C, +C, C, C, C, C, C<< (?>S) >>, C<(?=S)>, C<(?<=S)>, +C<(?!S)>, C<(?, C<(??{ EXPR })>, +C<(?(condition)yes-pattern|no-pattern)> -=item Using Encode +=item Creating custom RE engines =back -=item SINGLE OCTET TABLES +=item BUGS -recipe 0, recipe 1, recipe 2, recipe 3, recipe 4, recipe 5, recipe 6 +=item SEE ALSO -=item IDENTIFYING CHARACTER CODE SETS +=back -=item CONVERSIONS +=head2 perlreref - Perl Regular Expressions Reference =over 4 -=item tr/// +=item DESCRIPTION -=item iconv - -=item C RTL - -=back - -=item OPERATOR DIFFERENCES +=over 4 -=item FUNCTION DIFFERENCES +=item OPERATORS -chr(), ord(), pack(), print(), printf(), sort(), sprintf(), unpack() +=item SYNTAX -=item REGULAR EXPRESSION DIFFERENCES +=item ESCAPE SEQUENCES -=item SOCKETS +=item CHARACTER CLASSES -=item SORTING +=item ANCHORS -=over 4 +=item QUANTIFIERS -=item Ignore ASCII vs. EBCDIC sort differences. +=item EXTENDED CONSTRUCTS -=item MONO CASE then sort data. +=item VARIABLES -=item Convert, sort data, then re convert. +=item FUNCTIONS -=item Perform sorting on one type of machine only. +=item TERMINOLOGY =back -=item TRANSFORMATION FORMATS - -=over 4 - -=item URL decoding and encoding - -=item uu encoding and decoding +=item AUTHOR -=item Quoted-Printable encoding and decoding +=item SEE ALSO -=item Caesarian ciphers +=item THANKS =back -=item Hashing order and checksums +=head2 perlref - Perl references and nested data structures -=item I18N AND L10N +=over 4 -=item MULTI OCTET CHARACTER SETS +=item NOTE -=item OS ISSUES +=item DESCRIPTION =over 4 -=item OS/400 +=item Making References -IFS access +=item Using References -=item OS/390, z/OS +=item Symbolic references -chcp, dataset access, OS/390, z/OS iconv, locales +=item Not-so-symbolic references -=item VM/ESA? +=item Pseudo-hashes: Using an array as a hash -=item POSIX-BC? +=item Function Templates =back -=item BUGS +=item WARNING =item SEE ALSO -=item REFERENCES - -=item HISTORY - -=item AUTHOR - =back -=head2 perlsec - Perl security +=head2 perlform - Perl formats =over 4 @@ -2549,51 +2588,43 @@ chcp, dataset access, OS/390, z/OS iconv, locales =over 4 -=item Laundering and Detecting Tainted Data +=item Text Fields -=item Switches On the "#!" Line +=item Numeric Fields -=item Cleaning Up Your Path +=item The Field @* for Variable Width Multi-Line Text -=item Security Bugs +=item The Field ^* for Variable Width One-line-at-a-time Text -=item Protecting Your Programs +=item Specifying Values -=item Unicode +=item Using Fill Mode -=back +=item Suppressing Lines Where All Fields Are Void -=item SEE ALSO +=item Repeating Format Lines -=back +=item Top of Form Processing -=head2 perlmod - Perl modules (packages and symbol tables) +=item Format Variables -=over 4 +=back -=item DESCRIPTION +=item NOTES =over 4 -=item Packages - -=item Symbol Tables - -=item Package Constructors and Destructors - -=item Perl Classes - -=item Perl Modules +=item Footers -=item Making your module threadsafe +=item Accessing Formatting Internals =back -=item SEE ALSO +=item WARNINGS =back -=head2 perlmodinstall - Installing CPAN Modules +=head2 perlobj - Perl objects =over 4 @@ -2601,764 +2632,691 @@ chcp, dataset access, OS/390, z/OS iconv, locales =over 4 -=item PREAMBLE +=item An Object is Simply a Reference -B the file, B the file into a directory, B the -module (sometimes unnecessary), B the module +=item A Class is Simply a Package -=back +=item A Method is Simply a Subroutine -=item PORTABILITY +=item Method Invocation -=item HEY +=item Indirect Object Syntax -=item AUTHOR +=item Default UNIVERSAL methods -=item COPYRIGHT +isa(CLASS), can(METHOD), VERSION( [NEED] ) + +=item Destructors + +=item Summary + +=item Two-Phased Garbage Collection =back -=head2 perlmodlib - constructing new Perl modules and finding existing ones +=item SEE ALSO + +=back + +=head2 perltie - how to hide an object class in a simple variable =over 4 -=item DESCRIPTION +=item SYNOPSIS -=item THE PERL MODULE LIBRARY +=item DESCRIPTION =over 4 -=item Pragmatic Modules - -attributes, attrs, autouse, base, bigint, bignum, bigrat, blib, bytes, -charnames, constant, diagnostics, encoding, fields, filetest, if, integer, -less, locale, open, ops, overload, re, sigtrap, sort, strict, subs, -threads, utf8, vars, vmsish, warnings, warnings::register +=item Tying Scalars -=item Standard Modules +TIESCALAR classname, LIST, FETCH this, STORE this, value, UNTIE this, +DESTROY this -AnyDBM_File, Attribute::Handlers, AutoLoader, AutoSplit, B, B::Asmdata, -B::Assembler, B::Bblock, B::Bytecode, B::C, B::CC, B::Concise, B::Debug, -B::Deparse, B::Disassembler, B::Lint, B::Showlex, B::Stackobj, B::Stash, -B::Terse, B::Xref, Benchmark, ByteLoader, CGI, CGI::Apache, CGI::Carp, -CGI::Cookie, CGI::Fast, CGI::Pretty, CGI::Push, CGI::Switch, CGI::Util, -CPAN, CPAN::FirstTime, CPAN::Nox, Carp, Carp::Heavy, Class::ISA, -Class::Struct, Cwd, DB, DB_File, Devel::SelfStubber, Digest, DirHandle, -Dumpvalue, Encode, English, Env, Exporter, Exporter::Heavy, -ExtUtils::Command, ExtUtils::Command::MM, ExtUtils::Constant, -ExtUtils::Embed, ExtUtils::Install, ExtUtils::Installed, ExtUtils::Liblist, -ExtUtils::MM, ExtUtils::MM_Any, ExtUtils::MM_BeOS, ExtUtils::MM_Cygwin, -ExtUtils::MM_DOS, ExtUtils::MM_MacOS, ExtUtils::MM_NW5, ExtUtils::MM_OS2, -ExtUtils::MM_UWIN, ExtUtils::MM_Unix, ExtUtils::MM_VMS, ExtUtils::MM_Win32, -ExtUtils::MM_Win95, ExtUtils::MY, ExtUtils::MakeMaker, ExtUtils::Manifest, -ExtUtils::Mkbootstrap, ExtUtils::Mksymlists, ExtUtils::Packlist, -ExtUtils::testlib, Fatal, Fcntl, File::Basename, File::CheckTree, -File::Compare, File::Copy, File::DosGlob, File::Find, File::Path, -File::Spec, File::Spec::Cygwin, File::Spec::Epoc, File::Spec::Functions, -File::Spec::Mac, File::Spec::NW5, File::Spec::OS2, File::Spec::Unix, -File::Spec::VMS, File::Spec::Win32, File::Temp, File::stat, FileCache, -FileHandle, Filter::Simple, FindBin, Getopt::Long, Getopt::Std, Hash::Util, -I18N::Collate, I18N::LangTags, I18N::LangTags::List, IO, IPC::Open2, -IPC::Open3, Locale::Constants, Locale::Country, Locale::Currency, -Locale::Language, Locale::Maketext, Locale::Maketext::TPJ13, -Locale::Script, Math::BigFloat, Math::BigInt, Math::BigInt::Calc, -Math::BigRat, Math::Complex, Math::Trig, Memoize, Memoize::AnyDBM_File, -Memoize::Expire, Memoize::ExpireFile, Memoize::ExpireTest, -Memoize::NDBM_File, Memoize::SDBM_File, Memoize::Storable, NDBM_File, NEXT, -Net::Cmd, Net::Config, Net::Domain, Net::FTP, Net::NNTP, Net::Netrc, -Net::POP3, Net::Ping, Net::SMTP, Net::Time, Net::hostent, Net::libnetFAQ, -Net::netent, Net::protoent, Net::servent, O, ODBM_File, Opcode, POSIX, -PerlIO, Pod::Checker, Pod::Find, Pod::Functions, Pod::Html, -Pod::InputObjects, Pod::LaTeX, Pod::Man, Pod::ParseLink, Pod::ParseUtils, -Pod::Parser, Pod::Plainer, Pod::Select, Pod::Text, Pod::Text::Color, -Pod::Text::Overstrike, Pod::Text::Termcap, Pod::Usage, Pod::t::basic, -SDBM_File, Safe, Search::Dict, SelectSaver, SelfLoader, Shell, Socket, -Storable, Switch, Symbol, Term::ANSIColor, Term::Cap, Term::Complete, -Term::ReadLine, Test, Test::Builder, Test::Harness, Test::Harness::Assert, -Test::Harness::Iterator, Test::Harness::Straps, Test::More, Test::Simple, -Test::Tutorial, Text::Abbrev, Text::Balanced, Text::ParseWords, -Text::Soundex, Text::Tabs, Text::Wrap, Thread, Thread::Queue, -Thread::Semaphore, Tie::Array, Tie::File, Tie::Handle, Tie::Hash, -Tie::Memoize, Tie::RefHash, Tie::Scalar, Tie::SubstrHash, Time::Local, -Time::gmtime, Time::localtime, Time::tm, UNIVERSAL, Unicode::Collate, -Unicode::UCD, User::grent, User::pwent, Win32 +=item Tying Arrays -=item Extension Modules +TIEARRAY classname, LIST, FETCH this, index, STORE this, index, value, +FETCHSIZE this, STORESIZE this, count, EXTEND this, count, EXISTS this, +key, DELETE this, key, CLEAR this, PUSH this, LIST, POP this, SHIFT this, +UNSHIFT this, LIST, SPLICE this, offset, length, LIST, UNTIE this, DESTROY +this -=back +=item Tying Hashes -=item CPAN +USER, HOME, CLOBBER, LIST, TIEHASH classname, LIST, FETCH this, key, STORE +this, key, value, DELETE this, key, CLEAR this, EXISTS this, key, FIRSTKEY +this, NEXTKEY this, lastkey, SCALAR this, UNTIE this, DESTROY this -=over 4 +=item Tying FileHandles -=item Africa +TIEHANDLE classname, LIST, WRITE this, LIST, PRINT this, LIST, PRINTF this, +LIST, READ this, LIST, READLINE this, GETC this, CLOSE this, UNTIE this, +DESTROY this -=item Asia +=item UNTIE this -=item Central America +=item The C Gotcha -=item Europe +=back -=item North America +=item SEE ALSO -=item Oceania +=item BUGS -=item South America +=item AUTHOR =back -=item Modules: Creation, Use, and Abuse +=head2 perldbmfilter - Perl DBM Filters =over 4 -=item Guidelines for Module Creation +=item SYNOPSIS -=item Guidelines for Converting Perl 4 Library Scripts into Modules +=item DESCRIPTION -=item Guidelines for Reusing Application Code +B, B, B, +B -=back +=over 4 -=item NOTE +=item The Filter + +=item An Example -- the NULL termination problem. + +=item Another Example -- Key is a C int. =back -=head2 perlmodstyle - Perl module style guide +=item SEE ALSO -=over 4 +=item AUTHOR -=item INTRODUCTION +=back -=item QUICK CHECKLIST +=head2 perlipc - Perl interprocess communication (signals, fifos, pipes, +safe subprocesses, sockets, and semaphores) =over 4 -=item Before you start - -=item The API +=item DESCRIPTION -=item Stability +=item Signals -=item Documentation +=over 4 -=item Release considerations +=item Handling the SIGHUP Signal in Daemons =back -=item BEFORE YOU START WRITING A MODULE +=item Named Pipes =over 4 -=item Has it been done before? - -=item Do one thing and do it well +=item Deferred Signals (Safe Signals) -=item What's in a name? +Long running opcodes, Interrupting IO, Restartable system calls, Signals as +"faults", Signals triggered by operating system state =back -=item DESIGNING AND WRITING YOUR MODULE +=item Using open() for IPC =over 4 -=item To OO or not to OO? +=item Filehandles -=item Designing your API +=item Background Processes -Write simple routines to do simple things, Separate functionality from -output, Provide sensible shortcuts and defaults, Naming conventions, -Parameter passing +=item Complete Dissociation of Child from Parent -=item Strictness and warnings +=item Safe Pipe Opens -=item Backwards compatibility +=item Bidirectional Communication with Another Process -=item Error handling and messages +=item Bidirectional Communication with Yourself =back -=item DOCUMENTING YOUR MODULE +=item Sockets: Client/Server Communication =over 4 -=item POD +=item Internet Line Terminators -=item README, INSTALL, release notes, changelogs +=item Internet TCP Clients and Servers + +=item Unix-Domain TCP Clients and Servers =back -=item RELEASE CONSIDERATIONS +=item TCP Clients with IO::Socket =over 4 -=item Version numbering - -=item Pre-requisites +=item A Simple Client -=item Testing +C, C, C -=item Packaging +=item A Webget Client -=item Licensing +=item Interactive Client with IO::Socket =back -=item COMMON PITFALLS +=item TCP Servers with IO::Socket -=over 4 +Proto, LocalPort, Listen, Reuse -=item Reinventing the wheel +=item UDP: Message Passing -=item Trying to do too much +=item SysV IPC -=item Inappropriate documentation +=item NOTES -=back +=item BUGS + +=item AUTHOR =item SEE ALSO -L, L, L, L, Testing tools, -http://pause.perl.org/, Any good book on software engineering - -=item AUTHOR - =back -=head2 perlnewmod - preparing a new module for distribution +=head2 perlfork - Perl's fork() emulation =over 4 +=item SYNOPSIS + =item DESCRIPTION =over 4 -=item Warning - -=item What should I make into a module? +=item Behavior of other Perl features in forked pseudo-processes -=item Step-by-step: Preparing the ground +$$ or $PROCESS_ID, %ENV, chdir() and all other builtins that accept +filenames, wait() and waitpid(), kill(), exec(), exit(), Open handles to +files, directories and network sockets -Look around, Check it's new, Discuss the need, Choose a name, Check again +=item Resource limits -=item Step-by-step: Making the module +=item Killing the parent process -Start with F, Use L and L, Use -L, Use L - wisely!, Use L, Write tests, Write the README +=item Lifetime of the parent process and pseudo-processes -=item Step-by-step: Distributing your module +=item CAVEATS AND LIMITATIONS -Get a CPAN user ID, C, Upload the -tarball, Announce to the modules list, Announce to clpa, Fix bugs! +BEGIN blocks, Open filehandles, Forking pipe open() not yet implemented, +Global state maintained by XSUBs, Interpreter embedded in larger +application, Thread-safety of extensions =back +=item BUGS + =item AUTHOR =item SEE ALSO =back -=head2 perlfaq1 - General Questions About Perl ($Revision: 1.8 $, $Date: -2002/04/07 18:46:13 $) +=head2 perlnumber - semantics of numbers and numeric operations in Perl =over 4 -=item DESCRIPTION +=item SYNOPSIS -=over 4 +=item DESCRIPTION -=item What is Perl? +=item Storing numbers -=item Who supports Perl? Who develops it? Why is it free? +=item Numeric operators and numeric conversions -=item Which version of Perl should I use? +=item Flavors of Perl numeric operations -=item What are perl4 and perl5? +Arithmetic operators, ++, Arithmetic operators during C, Other +mathematical operators, Bitwise operators, Bitwise operators during C, Operators which expect an integer, Operators which expect a +string -=item What is perl6? +=item AUTHOR -=item How stable is Perl? +=item SEE ALSO -=item Is Perl difficult to learn? +=back -=item How does Perl compare with other languages like Java, Python, REXX, -Scheme, or Tcl? +=head2 perlthrtut - tutorial on threads in Perl -=item Can I do [task] in Perl? +=over 4 -=item When shouldn't I program in Perl? +=item DESCRIPTION -=item What's the difference between "perl" and "Perl"? +=item Status -=item Is it a Perl program or a Perl script? +=item What Is A Thread Anyway? -=item What is a JAPH? +=item Threaded Program Models -=item Where can I get a list of Larry Wall witticisms? +=over 4 -=item How can I convince my sysadmin/supervisor/employees to use version -5/5.6.1/Perl instead of some other language? +=item Boss/Worker -=back +=item Work Crew -=item AUTHOR AND COPYRIGHT +=item Pipeline =back -=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.13 $, -$Date: 2002/04/26 16:56:35 $) +=item What kind of threads are Perl threads? -=over 4 +=item Thread-Safe Modules -=item DESCRIPTION +=item Thread Basics =over 4 -=item What machines support Perl? Where do I get it? +=item Basic Thread Support -=item How can I get a binary version of Perl? +=item A Note about the Examples -=item I don't have a C compiler on my system. How can I compile perl? +=item Creating Threads -=item I copied the Perl binary from one machine to another, but scripts -don't work. +=item Waiting For A Thread To Exit -=item I grabbed the sources and tried to compile but gdbm/dynamic -loading/malloc/linking/... failed. How do I make it work? +=item Ignoring A Thread -=item What modules and extensions are available for Perl? What is CPAN? -What does CPAN/src/... mean? +=back -=item Is there an ISO or ANSI certified version of Perl? +=item Threads And Data -=item Where can I get information on Perl? +=over 4 -=item What are the Perl newsgroups on Usenet? Where do I post questions? +=item Shared And Unshared Data -=item Where should I post source code? +=item Thread Pitfalls: Races -=item Perl Books +=back -References, Tutorials, Task-Oriented, Special Topics +=item Synchronization and control -=item Perl in Magazines +=over 4 -=item Perl on the Net: FTP and WWW Access +=item Controlling access: lock() -=item What mailing lists are there for Perl? +=item A Thread Pitfall: Deadlocks -=item Archives of comp.lang.perl.misc +=item Queues: Passing Data Around -=item Where can I buy a commercial version of Perl? +=item Semaphores: Synchronizing Data Access -=item Where do I send bug reports? +=item Basic semaphores -=item What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? +=item Advanced Semaphores -=back +=item cond_wait() and cond_signal() -=item AUTHOR AND COPYRIGHT +=item Giving up control =back -=head2 perlfaq3 - Programming Tools ($Revision: 1.22 $, $Date: 2002/05/06 -13:11:13 $) - -=over 4 - -=item DESCRIPTION +=item General Thread Utility Routines =over 4 -=item How do I do (anything)? - -=item How can I use Perl interactively? - -=item Is there a Perl shell? - -=item How do I debug my Perl programs? +=item What Thread Am I In? -=item How do I profile my Perl programs? +=item Thread IDs -=item How do I cross-reference my Perl programs? +=item Are These Threads The Same? -=item Is there a pretty-printer (formatter) for Perl? +=item What Threads Are Running? -=item Is there a ctags for Perl? +=back -=item Is there an IDE or Windows Perl Editor? +=item A Complete Example -Komodo, The Object System, Open Perl IDE, PerlBuilder, visiPerl+, OptiPerl, -CodeMagicCD, GNU Emacs, MicroEMACS, XEmacs, Elvis, Vile, Vim, Codewright, -MultiEdit, SlickEdit, Bash, Ksh, Tcsh, Zsh, BBEdit and BBEdit Lite, Alpha +=item Different implementations of threads -=item Where can I get Perl macros for vi? +=item Performance considerations -=item Where can I get perl-mode for emacs? +=item Process-scope Changes -=item How can I use curses with Perl? +=item Thread-Safety of System Libraries -=item How can I use X or Tk with Perl? +=item Conclusion -=item How can I generate simple menus without using CGI or Tk? +=item Bibliography -=item How can I make my Perl program run faster? +=over 4 -=item How can I make my Perl program take less memory? +=item Introductory Texts -Don't slurp!, Use map and grep selectively, Avoid unnecessary quotes and -stringification, Pass by reference, Tie large variables to disk +=item OS-Related References -=item Is it unsafe to return a pointer to local data? +=item Other References -=item How can I free an array or hash so my program shrinks? +=back -=item How can I make my CGI script more efficient? +=item Acknowledgements -=item How can I hide the source for my Perl program? +=item AUTHOR -=item How can I compile my Perl program into byte code or C? +=item Copyrights -=item How can I compile Perl into Java? +=back -=item How can I get C<#!perl> to work on [MS-DOS,NT,...]? +=head2 perlothrtut - old tutorial on threads in Perl -=item Can I write useful Perl programs on the command line? +=over 4 -=item Why don't Perl one-liners work on my DOS/Mac/VMS system? +=item DESCRIPTION -=item Where can I learn about CGI or Web programming in Perl? +=item What Is A Thread Anyway? -=item Where can I learn about object-oriented Perl programming? +=item Threaded Program Models -=item Where can I learn about linking C with Perl? [h2xs, xsubpp] +=over 4 -=item I've read perlembed, perlguts, etc., but I can't embed perl in -my C program; what am I doing wrong? +=item Boss/Worker -=item When I tried to run my script, I got this message. What does it mean? +=item Work Crew -=item What's MakeMaker? +=item Pipeline =back -=item AUTHOR AND COPYRIGHT +=item Native threads -=back +=item What kind of threads are perl threads? + +=item Threadsafe Modules -=head2 perlfaq4 - Data Manipulation ($Revision: 1.25 $, $Date: 2002/05/30 -07:04:25 $) +=item Thread Basics =over 4 -=item DESCRIPTION +=item Basic Thread Support -=item Data: Numbers +=item Creating Threads -=over 4 +=item Giving up control -=item Why am I getting long decimals (eg, 19.9499999999999) instead of the -numbers I should be getting (eg, 19.95)? +=item Waiting For A Thread To Exit -=item Why isn't my octal data interpreted correctly? +=item Errors In Threads -=item Does Perl have a round() function? What about ceil() and floor()? -Trig functions? +=item Ignoring A Thread -=item How do I convert between numeric representations? +=back -How do I convert hexadecimal into decimal, How do I convert from decimal to -hexadecimal, How do I convert from octal to decimal, How do I convert from -decimal to octal, How do I convert from binary to decimal, How do I convert -from decimal to binary +=item Threads And Data -=item Why doesn't & work the way I want it to? +=over 4 -=item How do I multiply matrices? +=item Shared And Unshared Data -=item How do I perform an operation on a series of integers? +=item Thread Pitfall: Races -=item How can I output Roman numerals? +=item Controlling access: lock() -=item Why aren't my random numbers random? +=item Thread Pitfall: Deadlocks -=item How do I get a random number between X and Y? +=item Queues: Passing Data Around =back -=item Data: Dates +=item Threads And Code =over 4 -=item How do I find the week-of-the-year/day-of-the-year? - -=item How do I find the current century or millennium? +=item Semaphores: Synchronizing Data Access -=item How can I compare two dates and find the difference? +Basic semaphores, Advanced Semaphores -=item How can I take a string and turn it into epoch seconds? +=item Attributes: Restricting Access To Subroutines -=item How can I find the Julian Day? +=item Subroutine Locks -=item How do I find yesterday's date? +=item Methods -=item Does Perl have a Year 2000 problem? Is Perl Y2K compliant? +=item Locking A Subroutine =back -=item Data: Strings +=item General Thread Utility Routines =over 4 -=item How do I validate input? +=item What Thread Am I In? -=item How do I unescape a string? +=item Thread IDs -=item How do I remove consecutive pairs of characters? +=item Are These Threads The Same? -=item How do I expand function calls in a string? +=item What Threads Are Running? -=item How do I find matching/nesting anything? +=back -=item How do I reverse a string? +=item A Complete Example -=item How do I expand tabs in a string? +=item Conclusion -=item How do I reformat a paragraph? +=item Bibliography -=item How can I access/change the first N letters of a string? +=over 4 -=item How do I change the Nth occurrence of something? - -=item How can I count the number of occurrences of a substring within a -string? - -=item How do I capitalize all the words on one line? - -=item How can I split a [character] delimited string except when inside -[character]? (Comma-separated files) - -=item How do I strip blank space from the beginning/end of a string? - -=item How do I pad a string with blanks or pad a number with zeroes? +=item Introductory Texts -=item How do I extract selected columns from a string? +=item OS-Related References -=item How do I find the soundex value of a string? +=item Other References -=item How can I expand variables in text strings? +=back -=item What's wrong with always quoting "$vars"? +=item Acknowledgements -=item Why don't my < +portable -=item How do I test whether two arrays or hashes are equal? +=item ISSUES -=item How do I find the first array element for which a condition is true? +=over 4 -=item How do I handle linked lists? +=item Newlines -=item How do I handle circular lists? +=item Numbers endianness and Width -=item How do I shuffle an array randomly? +=item Files and Filesystems -=item How do I process/modify each element of an array? +=item System Interaction -=item How do I select a random element from an array? +=item Command names versus file pathnames -=item How do I permute N elements of a list? +=item Networking -=item How do I sort an array by (anything)? +=item Interprocess Communication (IPC) -=item How do I manipulate arrays of bits? +=item External Subroutines (XS) -=item Why does defined() return true on empty arrays and hashes? +=item Standard Modules -=back +=item Time and Date -=item Data: Hashes (Associative Arrays) +=item Character sets and character encoding -=over 4 +=item Internationalisation -=item How do I process an entire hash? +=item System Resources -=item What happens if I add or remove keys from a hash while iterating over -it? +=item Security -=item How do I look up a hash element by value? +=item Style -=item How can I know how many entries are in a hash? +=back -=item How do I sort a hash (optionally by value instead of key)? +=item CPAN Testers -=item How can I always keep my hash sorted? +=item PLATFORMS -=item What's the difference between "delete" and "undef" with hashes? +=over 4 -=item Why don't my tied hashes make the defined/exists distinction? +=item Unix -=item How do I reset an each() operation part-way through? +=item DOS and Derivatives -=item How can I get the unique keys from two hashes? +=item S -=item How can I store a multidimensional array in a DBM file? +=item VMS -=item How can I make my hash remember the order I put elements into it? +=item VOS -=item Why does passing a subroutine an undefined element in a hash create -it? +=item EBCDIC Platforms -=item How can I make the Perl equivalent of a C structure/C++ class/hash or -array of hashes or arrays? +=item Acorn RISC OS -=item How can I use a reference as a hash key? +=item Other perls =back -=item Data: Misc +=item FUNCTION IMPLEMENTATIONS =over 4 -=item How do I handle binary data correctly? - -=item How do I determine whether a scalar is a number/whole/integer/float? - -=item How do I keep persistent data across program calls? - -=item How do I print out or copy a recursive data structure? +=item Alphabetical Listing of Perl Functions -=item How do I define methods for every class/object? +-I, atan2, binmode, chmod, chown, chroot, crypt, dbmclose, dbmopen, +dump, exec, exit, fcntl, flock, fork, getlogin, getpgrp, getppid, +getpriority, getpwnam, getgrnam, getnetbyname, getpwuid, getgrgid, +getnetbyaddr, getprotobynumber, getservbyport, getpwent, getgrent, +gethostbyname, gethostent, getnetent, getprotoent, getservent, sethostent, +setnetent, setprotoent, setservent, endpwent, endgrent, endhostent, +endnetent, endprotoent, endservent, getsockopt SOCKET,LEVEL,OPTNAME, glob, +gmtime, ioctl FILEHANDLE,FUNCTION,SCALAR, kill, link, localtime, lstat, +msgctl, msgget, msgsnd, msgrcv, open, pipe, readlink, rename, select, +semctl, semget, semop, setgrent, setpgrp, setpriority, setpwent, +setsockopt, shmctl, shmget, shmread, shmwrite, sockatmark, socketpair, +stat, symlink, syscall, sysopen, system, times, truncate, umask, utime, +wait, waitpid -=item How do I verify a credit card checksum? +=back -=item How do I pack arrays of doubles or floats for XS code? +=item Supported Platforms -=back +=item SEE ALSO -=item AUTHOR AND COPYRIGHT +=item AUTHORS / CONTRIBUTORS =back -=head2 perlfaq5 - Files and Formats ($Revision: 1.18 $, $Date: 2002/05/30 -07:04:25 $) +=head2 perllocale - Perl locale handling (internationalization and +localization) =over 4 =item DESCRIPTION +=item PREPARING TO USE LOCALES + +=item USING LOCALES + =over 4 -=item How do I flush/unbuffer an output filehandle? Why must I do this? +=item The use locale pragma -=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 The setlocale function -=item How do I count the number of lines in a file? +=item Finding locales -=item How do I make a temporary file name? +=item LOCALE PROBLEMS -=item How can I manipulate fixed-record-length files? +=item Temporarily fixing locale problems -=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? +=item Permanently fixing locale problems -=item How can I use a filehandle indirectly? +=item Permanently fixing your system's locale configuration -=item How can I set up a footer format to be used with write()? +=item Fixing system locale configuration -=item How can I write() into a string? +=item The localeconv function -=item How can I output my numbers with commas added? +=item I18N::Langinfo -=item How can I translate tildes (~) in a filename? +=back -=item How come when I open a file read-write it wipes it out? +=item LOCALE CATEGORIES -=item Why do I sometimes get an "Argument list too long" when I use <*>? +=over 4 -=item Is there a leak/bug in glob()? +=item Category LC_COLLATE: Collation -=item How can I open a file with a leading ">" or trailing blanks? +=item Category LC_CTYPE: Character Types -=item How can I reliably rename a file? +=item Category LC_NUMERIC: Numeric Formatting -=item How can I lock a file? +=item Category LC_MONETARY: Formatting of monetary amounts -=item Why can't I just open(FH, ">file.lock")? +=item LC_TIME -=item I still don't get locking. I just want to increment the number in -the file. How can I do this? +=item Other categories -=item All I want to do is append a small amount of text to the end of a -file. Do I still have to use locking? +=back -=item How do I randomly update a binary file? +=item SECURITY -=item How do I get a file's timestamp in perl? +=item ENVIRONMENT -=item How do I set a file's timestamp in perl? +PERL_BADLANG, LC_ALL, LANGUAGE, LC_CTYPE, LC_COLLATE, LC_MONETARY, +LC_NUMERIC, LC_TIME, LANG -=item How do I print to more than one file at once? +=item NOTES -=item How can I read in an entire file all at once? +=over 4 -=item How can I read in a file by paragraphs? +=item Backward compatibility -=item How can I read a single character from a file? From the keyboard? +=item I18N:Collate obsolete -=item How can I tell whether there's a character waiting on a filehandle? +=item Sort speed and memory use impacts -=item How do I do a C in perl? +=item write() and LC_NUMERIC -=item How do I dup() a filehandle in Perl? +=item Freely available locale definitions -=item How do I close a file descriptor by number? +=item I18n and l10n -=item Why can't I use "C:\temp\foo" in DOS paths? Why doesn't -`C:\temp\foo.exe` work? +=item An imperfect standard -=item Why doesn't glob("*.*") get all the files? +=back -=item Why does Perl let me delete read-only files? Why does C<-i> clobber -protected files? Isn't this a bug in Perl? +=item Unicode and UTF-8 -=item How do I select a random line from a file? +=item BUGS -=item Why do I get weird spaces when I print an array of lines? +=over 4 + +=item Broken systems =back -=item AUTHOR AND COPYRIGHT +=item SEE ALSO + +=item HISTORY =back -=head2 perlfaq6 - Regular Expressions ($Revision: 1.11 $, $Date: 2002/05/23 -15:47:37 $) +=head2 perluniintro - Perl Unicode introduction =over 4 @@ -3366,66 +3324,49 @@ protected files? Isn't this a bug in Perl? =over 4 -=item How can I hope to use regular expressions without creating illegible -and unmaintainable code? +=item Unicode -Comments Outside the Regex, Comments Inside the Regex, Different Delimiters +=item Perl's Unicode Support -=item I'm having trouble matching over more than one line. What's wrong? +=item Perl's Unicode Model -=item How can I pull out lines between two patterns that are themselves on -different lines? +=item Unicode and EBCDIC -=item I put a regular expression into $/ but it didn't work. What's wrong? +=item Creating Unicode -=item How do I substitute case insensitively on the LHS while preserving -case on the RHS? +=item Handling Unicode -=item How can I make C<\w> match national character sets? +=item Legacy Encodings -=item How can I match a locale-smart version of C? +=item Unicode I/O -=item How can I quote a variable to use in a regex? +=item Displaying Unicode As Text -=item What is C really for? +=item Special Cases -=item How do I use a regular expression to strip C style comments from a -file? +=item Advanced Topics -=item Can I use Perl regular expressions to match balanced text? +=item Miscellaneous -=item What does it mean that regexes are greedy? How can I get around it? +=item Questions With Answers -=item How do I process each word on each line? +=item Hexadecimal Notation -=item How can I print out a word-frequency or line-frequency summary? +=item Further Resources -=item How can I do approximate matching? +=back -=item How do I efficiently match many regular expressions at once? +=item UNICODE IN OLDER PERLS -=item Why don't word-boundary searches with C<\b> work for me? +=item SEE ALSO -=item Why does using $&, $`, or $' slow my program down? +=item ACKNOWLEDGMENTS -=item What good is C<\G> in a regular expression? +=item AUTHOR, COPYRIGHT, AND LICENSE -=item Are Perl regexes DFAs or NFAs? Are they POSIX compliant? +=back -=item What's wrong with using grep or map in a void context? - -=item How can I match strings with multibyte characters? - -=item How do I match a pattern that is supplied by the user? - -=back - -=item AUTHOR AND COPYRIGHT - -=back - -=head2 perlfaq7 - General Perl Language Issues ($Revision: 1.8 $, $Date: -2002/03/26 15:48:32 $) +=head2 perlunicode - Unicode support in Perl =over 4 @@ -3433,518 +3374,600 @@ file? =over 4 -=item Can I get a BNF/yacc/RE for the Perl language? - -=item What are all these $@%&* punctuation signs, and how do I know when to -use them? - -=item Do I always/never have to quote my strings or use semicolons and -commas? - -=item How do I skip some return values? - -=item How do I temporarily block warnings? - -=item What's an extension? - -=item Why do Perl operators have different precedence than C operators? +=item Important Caveats -=item How do I declare/create a structure? +Input and Output Layers, Regular Expressions, C still needed to +enable UTF-8/UTF-EBCDIC in scripts, BOM-marked scripts and UTF-16 scripts +autodetected, C needed to upgrade non-Latin-1 byte strings -=item How do I create a module? +=item Byte and Character Semantics -=item How do I create a class? +=item Effects of Character Semantics -=item How can I tell if a variable is tainted? +=item Scripts -=item What's a closure? +=item Blocks -=item What is variable suicide and how can I prevent it? +=item User-Defined Character Properties -=item How can I pass/return a {Function, FileHandle, Array, Hash, Method, -Regex}? +=item Character Encodings for Input and Output -Passing Variables and Functions, Passing Filehandles, Passing Regexes, -Passing Methods +=item Unicode Regular Expression Support Level -=item How do I create a static variable? +=item Unicode Encodings -=item What's the difference between dynamic and lexical (static) scoping? -Between local() and my()? +=item Security Implications of Unicode -=item How can I access a dynamic variable while a similarly named lexical -is in scope? +=item Unicode in Perl on EBCDIC -=item What's the difference between deep and shallow binding? +=item Locales -=item Why doesn't "my($foo) = ;" work right? +=item When Unicode Does Not Happen -=item How do I redefine a builtin function, operator, or method? +=item Forcing Unicode in Perl (Or Unforcing Unicode in Perl) -=item What's the difference between calling a function as &foo and foo()? +=item Using Unicode in XS -=item How do I create a switch or case statement? +=back -=item How can I catch accesses to undefined variables/functions/methods? +=item BUGS -=item Why can't a method included in this same file be found? +=over 4 -=item How can I find out my current package? +=item Interaction with Locales -=item How can I comment out a large block of perl code? +=item Interaction with Extensions -=item How do I clear a package? +=item Speed -=item How can I use a variable as a variable name? +=item Porting code from perl-5.6.X =back -=item AUTHOR AND COPYRIGHT +=item SEE ALSO =back -=head2 perlfaq8 - System Interaction ($Revision: 1.8 $, $Date: 2002/05/16 -12:41:42 $) +=head2 perlebcdic - Considerations for running Perl on EBCDIC platforms =over 4 =item DESCRIPTION -=over 4 +=item COMMON CHARACTER CODE SETS -=item How do I find out which operating system I'm running under? +=over 4 -=item How come exec() doesn't return? +=item ASCII -=item How do I do fancy stuff with the keyboard/screen/mouse? +=item ISO 8859 -Keyboard, Screen, Mouse +=item Latin 1 (ISO 8859-1) -=item How do I print something out in color? +=item EBCDIC -=item How do I read just one key without waiting for a return key? +=item 13 variant characters -=item How do I check whether input is ready on the keyboard? +=item 0037 -=item How do I clear the screen? +=item 1047 -=item How do I get the screen size? +=item POSIX-BC -=item How do I ask the user for a password? +=item Unicode code points versus EBCDIC code points -=item How do I read and write the serial port? +=item Remaining Perl Unicode problems in EBCDIC -lockfiles, open mode, end of line, flushing output, non-blocking input +=item Unicode and UTF -=item How do I decode encrypted password files? +=item Using Encode -=item How do I start a process in the background? +=back -STDIN, STDOUT, and STDERR are shared, Signals, Zombies +=item SINGLE OCTET TABLES -=item How do I trap control characters/signals? +recipe 0, recipe 1, recipe 2, recipe 3, recipe 4, recipe 5, recipe 6 -=item How do I modify the shadow password file on a Unix system? +=item IDENTIFYING CHARACTER CODE SETS -=item How do I set the time and date? +=item CONVERSIONS -=item How can I sleep() or alarm() for under a second? +=over 4 -=item How can I measure time under a second? +=item tr/// -=item How can I do an atexit() or setjmp()/longjmp()? (Exception handling) +=item iconv -=item Why doesn't my sockets program work under System V (Solaris)? What -does the error message "Protocol not supported" mean? +=item C RTL -=item How can I call my system's unique C functions from Perl? +=back -=item Where do I get the include files to do ioctl() or syscall()? +=item OPERATOR DIFFERENCES -=item Why do setuid perl scripts complain about kernel problems? +=item FUNCTION DIFFERENCES -=item How can I open a pipe both to and from a command? +chr(), ord(), pack(), print(), printf(), sort(), sprintf(), unpack() -=item Why can't I get the output of a command with system()? +=item REGULAR EXPRESSION DIFFERENCES -=item How can I capture STDERR from an external command? +=item SOCKETS -=item Why doesn't open() return an error when a pipe open fails? +=item SORTING -=item What's wrong with using backticks in a void context? +=over 4 -=item How can I call backticks without shell processing? +=item Ignore ASCII vs. EBCDIC sort differences. -=item Why can't my script read from STDIN after I gave it EOF (^D on Unix, -^Z on MS-DOS)? +=item MONO CASE then sort data. -=item How can I convert my shell script to perl? +=item Convert, sort data, then re convert. -=item Can I use perl to run a telnet or ftp session? +=item Perform sorting on one type of machine only. -=item How can I write expect in Perl? +=back -=item Is there a way to hide perl's command line from programs such as -"ps"? +=item TRANSFORMATION FORMATS -=item I {changed directory, modified my environment} in a perl script. How -come the change disappeared when I exited the script? How do I get my -changes to be visible? +=over 4 -Unix +=item URL decoding and encoding -=item How do I close a process's filehandle without waiting for it to -complete? +=item uu encoding and decoding -=item How do I fork a daemon process? +=item Quoted-Printable encoding and decoding -=item How do I find out if I'm running interactively or not? +=item Caesarian ciphers -=item How do I timeout a slow event? +=back -=item How do I set CPU limits? +=item Hashing order and checksums -=item How do I avoid zombies on a Unix system? +=item I18N AND L10N -=item How do I use an SQL database? +=item MULTI OCTET CHARACTER SETS -=item How do I make a system() exit on control-C? +=item OS ISSUES -=item How do I open a file without blocking? +=over 4 -=item How do I install a module from CPAN? +=item OS/400 -=item What's the difference between require and use? +PASE, IFS access -=item How do I keep my own module/library directory? +=item OS/390, z/OS -=item How do I add the directory my program lives in to the module/library -search path? +chcp, dataset access, OS/390, z/OS iconv, locales -=item How do I add a directory to my include path at runtime? +=item VM/ESA? -=item What is socket.ph and where do I get it? +=item POSIX-BC? =back -=item AUTHOR AND COPYRIGHT - -=back +=item BUGS -=head2 perlfaq9 - Networking ($Revision: 1.9 $, $Date: 2002/04/07 18:46:13 -$) +=item SEE ALSO -=over 4 +=item REFERENCES -=item DESCRIPTION +=item HISTORY -=over 4 +=item AUTHOR -=item What is the correct form of response from a CGI script? +=back -=item My CGI script runs from the command line but not the browser. (500 -Server Error) +=head2 perlsec - Perl security -=item How can I get better error messages from a CGI program? +=over 4 -=item How do I remove HTML from a string? +=item DESCRIPTION -=item How do I extract URLs? +=over 4 -=item How do I download a file from the user's machine? How do I open a -file on another machine? +=item Laundering and Detecting Tainted Data -=item How do I make a pop-up menu in HTML? +=item Switches On the "#!" Line -=item How do I fetch an HTML file? +=item Taint mode and @INC -=item How do I automate an HTML form submission? +=item Cleaning Up Your Path -=item How do I decode or create those %-encodings on the web? +=item Security Bugs -=item How do I redirect to another page? +=item Protecting Your Programs -=item How do I put a password on my web pages? +=item Unicode -=item How do I edit my .htpasswd and .htgroup files with Perl? +=item Algorithmic Complexity Attacks -=item How do I make sure users can't enter values into a form that cause my -CGI script to do bad things? +=back -=item How do I parse a mail header? +=item SEE ALSO -=item How do I decode a CGI form? +=back -=item How do I check a valid mail address? +=head2 perlmod - Perl modules (packages and symbol tables) -=item How do I decode a MIME/BASE64 string? +=over 4 -=item How do I return the user's mail address? +=item DESCRIPTION -=item How do I send mail? +=over 4 -=item How do I use MIME to make an attachment to a mail message? +=item Packages -=item How do I read mail? +=item Symbol Tables -=item How do I find out my hostname/domainname/IP address? +=item BEGIN, CHECK, INIT and END -=item How do I fetch a news article or the active newsgroups? +=item Perl Classes -=item How do I fetch/put an FTP file? +=item Perl Modules -=item How can I do RPC in Perl? +=item Making your module threadsafe =back -=item AUTHOR AND COPYRIGHT +=item SEE ALSO =back -=head2 perlcompile - Introduction to the Perl Compiler-Translator +=head2 perlmodlib - constructing new Perl modules and finding existing ones =over 4 -=item DESCRIPTION +=item THE PERL MODULE LIBRARY =over 4 -=item Layout +=item Pragmatic Modules -B::Bytecode, B::C, B::CC, B::Lint, B::Deparse, B::Xref +assertions, assertions::activate, assertions::compat, attributes, attrs, +autouse, base, bigint, bignum, bigrat, blib, bytes, charnames, constant, +diagnostics, encoding, encoding::warnings, fields, filetest, if, integer, +less, lib, locale, open, ops, overload, re, sigtrap, sort, strict, subs, +threads, threads::shared, utf8, vars, version, vmsish, warnings, +warnings::register + +=item Standard Modules + +AnyDBM_File, Archive::Tar, Archive::Tar::File, Attribute::Handlers, +AutoLoader, AutoSplit, B, B::Asmdata, B::Assembler, B::Bblock, B::Bytecode, +B::C, B::CC, B::Concise, B::Debug, B::Deparse, B::Disassembler, B::Lint, +B::Showlex, B::Stackobj, B::Stash, B::Terse, B::Xref, Benchmark, +ByteLoader, CGI, CGI::Apache, CGI::Carp, CGI::Cookie, CGI::Fast, +CGI::Pretty, CGI::Push, CGI::Switch, CGI::Util, CPAN, CPAN::FirstTime, +CPAN::Nox, Carp, Carp::Heavy, Class::ISA, Class::Struct, Compress::Zlib, +Config, Cwd, DB, DBM_Filter, DB_File, Data::Dumper, Devel::DProf, +Devel::PPPort, Devel::Peek, Devel::SelfStubber, Digest, Digest::MD5, +Digest::base, Digest::file, DirHandle, Dumpvalue, DynaLoader, Encode, +Encode::Alias, Encode::Byte, Encode::CJKConstants, Encode::CN, +Encode::CN::HZ, Encode::Config, Encode::EBCDIC, Encode::Encoder, +Encode::Encoding, Encode::Guess, Encode::JP, Encode::JP::H2Z, +Encode::JP::JIS7, Encode::KR, Encode::KR::2022_KR, Encode::MIME::Header, +Encode::PerlIO, Encode::Supported, Encode::Symbol, Encode::TW, +Encode::Unicode, Encode::Unicode::UTF7, English, Env, Errno, Exporter, +Exporter::Heavy, ExtUtils::CBuilder, ExtUtils::CBuilder::Platform::Windows, +ExtUtils::Command, ExtUtils::Command::MM, ExtUtils::Constant, +ExtUtils::Constant::Base, ExtUtils::Constant::Utils, +ExtUtils::Constant::XS, ExtUtils::Embed, ExtUtils::Install, +ExtUtils::Installed, ExtUtils::Liblist, ExtUtils::MM, ExtUtils::MM_AIX, +ExtUtils::MM_Any, ExtUtils::MM_BeOS, ExtUtils::MM_Cygwin, ExtUtils::MM_DOS, +ExtUtils::MM_MacOS, ExtUtils::MM_NW5, ExtUtils::MM_OS2, ExtUtils::MM_QNX, +ExtUtils::MM_UWIN, ExtUtils::MM_Unix, ExtUtils::MM_VMS, ExtUtils::MM_VOS, +ExtUtils::MM_Win32, ExtUtils::MM_Win95, ExtUtils::MY, ExtUtils::MakeMaker, +ExtUtils::MakeMaker::Config, ExtUtils::MakeMaker::FAQ, +ExtUtils::MakeMaker::Tutorial, ExtUtils::MakeMaker::bytes, +ExtUtils::MakeMaker::vmsish, ExtUtils::Manifest, ExtUtils::Mkbootstrap, +ExtUtils::Mksymlists, ExtUtils::Packlist, ExtUtils::ParseXS, +ExtUtils::testlib, Fatal, Fcntl, File::Basename, File::CheckTree, +File::Compare, File::Copy, File::DosGlob, File::Find, File::Glob, +File::Path, File::Spec, File::Spec::Cygwin, File::Spec::Epoc, +File::Spec::Functions, File::Spec::Mac, File::Spec::OS2, File::Spec::Unix, +File::Spec::VMS, File::Spec::Win32, File::Temp, File::stat, FileCache, +FileHandle, Filter::Simple, Filter::Util::Call, FindBin, GDBM_File, +Getopt::Long, Getopt::Std, Hash::Util, I18N::Collate, I18N::LangTags, +I18N::LangTags::Detect, I18N::LangTags::List, I18N::Langinfo, IO, IO::Dir, +IO::File, IO::Handle, IO::Pipe, IO::Poll, IO::Seekable, IO::Select, +IO::Socket, IO::Socket::INET, IO::Socket::UNIX, IO::Zlib, IPC::Open2, +IPC::Open3, IPC::SysV, IPC::SysV::Msg, IPC::SysV::Semaphore, List::Util, +Locale::Constants, Locale::Country, Locale::Currency, Locale::Language, +Locale::Maketext, Locale::Maketext::TPJ13, Locale::Script, MIME::Base64, +MIME::Base64::QuotedPrint, Math::BigFloat, Math::BigInt, +Math::BigInt::Calc, Math::BigInt::CalcEmu, Math::BigInt::FastCalc, +Math::BigRat, Math::Complex, Math::Trig, Memoize, Memoize::AnyDBM_File, +Memoize::Expire, Memoize::ExpireFile, Memoize::ExpireTest, +Memoize::NDBM_File, Memoize::SDBM_File, Memoize::Storable, +Module::CoreList, NDBM_File, NEXT, Net::Cmd, Net::Config, Net::Domain, +Net::FTP, Net::NNTP, Net::Netrc, Net::POP3, Net::Ping, Net::SMTP, +Net::Time, Net::hostent, Net::libnetFAQ, Net::netent, Net::protoent, +Net::servent, O, ODBM_File, Opcode, POSIX, PerlIO, PerlIO::encoding, +PerlIO::scalar, PerlIO::via, PerlIO::via::QuotedPrint, Pod::Checker, +Pod::Find, Pod::Functions, Pod::Html, Pod::InputObjects, Pod::LaTeX, +Pod::Man, Pod::ParseLink, Pod::ParseUtils, Pod::Parser, +Pod::Perldoc::ToChecker, Pod::Perldoc::ToMan, Pod::Perldoc::ToNroff, +Pod::Perldoc::ToPod, Pod::Perldoc::ToRtf, Pod::Perldoc::ToText, +Pod::Perldoc::ToTk, Pod::Perldoc::ToXml, Pod::PlainText, Pod::Plainer, +Pod::Select, Pod::Text, Pod::Text::Color, Pod::Text::Overstrike, +Pod::Text::Termcap, Pod::Usage, SDBM_File, Safe, Scalar::Util, +Search::Dict, SelectSaver, SelfLoader, Shell, Socket, Storable, Switch, +Symbol, Sys::Hostname, Sys::Syslog, Term::ANSIColor, Term::Cap, +Term::Complete, Term::ReadLine, Test, Test::Builder, Test::Harness, +Test::Harness::Assert, Test::Harness::Iterator, Test::Harness::Point, +Test::Harness::Straps, Test::Harness::TAP, Test::More, Test::Simple, +Test::Tutorial, Text::Abbrev, Text::Balanced, Text::ParseWords, +Text::Soundex, Text::Tabs, Text::Wrap, Thread, Thread::Queue, +Thread::Semaphore, Thread::Signal, Thread::Specific, Tie::Array, Tie::File, +Tie::Handle, Tie::Hash, Tie::Memoize, Tie::RefHash, Tie::Scalar, +Tie::SubstrHash, Time::HiRes, Time::Local, Time::gmtime, Time::localtime, +Time::tm, UNIVERSAL, Unicode::Collate, Unicode::Normalize, Unicode::UCD, +User::grent, User::pwent, XS::APItest, XS::Typemap, XSLoader + +=item Extension Modules =back -=item Using The Back Ends +=item CPAN =over 4 -=item The Cross Referencing Back End +=item Africa -i, &, s, r +South Africa -=item The Decompiling Back End +=item Asia -=item The Lint Back End +China, Indonesia, Israel, Japan, Malaysia, Russian Federation, Saudi +Arabia, Singapore, South Korea, Taiwan, Thailand -=item The Simple C Back End +=item Central America -=item The Bytecode Back End +Costa Rica -=item The Optimized C Back End +=item Europe -=back +Austria, Belgium, Bosnia and Herzegovina, Bulgaria, Croatia, Czech +Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, +Iceland, Ireland, Italy, Latvia, Lithuania, Netherlands, Norway, Poland, +Portugal, Romania, Russia, Slovakia, Slovenia, Spain, Sweden, Switzerland, +Turkey, Ukraine, United Kingdom -=item Module List for the Compiler Suite +=item North America -B, O, B::Asmdata, B::Assembler, B::Bblock, B::Bytecode, B::C, B::CC, -B::Concise, B::Debug, B::Deparse, B::Disassembler, B::Lint, B::Showlex, -B::Stackobj, B::Stash, B::Terse, B::Xref +Canada, Alberta, Manitoba, Nova Scotia, Ontario, Mexico, United States, +Alabama, California, Colorado, Delaware, District of Columbia, Florida, +Indiana, Kentucky, Massachusetts, Michigan, Nevada, New Jersey, New York, +North Carolina, Oklahoma, Oregon, Pennsylvania, Tennessee, Texas, Utah, +Virginia, Washington, Wisconsin -=item KNOWN PROBLEMS +=item Oceania -=item AUTHOR +Australia, New Zealand, United States + +=item South America + +Argentina, Brazil, Chile + +=item RSYNC Mirrors =back -=head2 perlembed - how to embed perl in your C program +=item Modules: Creation, Use, and Abuse =over 4 -=item DESCRIPTION +=item Guidelines for Module Creation -=over 4 +=item Guidelines for Converting Perl 4 Library Scripts into Modules -=item PREAMBLE +=item Guidelines for Reusing Application Code -B, B, B, B, B +=back -=item ROADMAP +=item NOTE -=item Compiling your C program +=back -=item Adding a Perl interpreter to your C program +=head2 perlmodstyle - Perl module style guide -=item Calling a Perl subroutine from your C program +=over 4 -=item Evaluating a Perl statement from your C program +=item INTRODUCTION -=item Performing Perl pattern matches and substitutions from your C program +=item QUICK CHECKLIST -=item Fiddling with the Perl stack from your C program +=over 4 -=item Maintaining a persistent interpreter +=item Before you start -=item Execution of END blocks +=item The API -=item Maintaining multiple interpreter instances +=item Stability -=item Using Perl modules, which themselves use C libraries, from your C -program +=item Documentation + +=item Release considerations =back -=item Embedding Perl under Win32 +=item BEFORE YOU START WRITING A MODULE -=item MORAL +=over 4 -=item AUTHOR +=item Has it been done before? -=item COPYRIGHT +=item Do one thing and do it well + +=item What's in a name? =back -=head2 perldebguts - Guts of Perl debugging +=item DESIGNING AND WRITING YOUR MODULE =over 4 -=item DESCRIPTION +=item To OO or not to OO? -=item Debugger Internals +=item Designing your API -=over 4 +Write simple routines to do simple things, Separate functionality from +output, Provide sensible shortcuts and defaults, Naming conventions, +Parameter passing -=item Writing Your Own Debugger +=item Strictness and warnings -=back +=item Backwards compatibility -=item Frame Listing Output Examples +=item Error handling and messages -=item Debugging regular expressions +=back -=over 4 +=item DOCUMENTING YOUR MODULE -=item Compile-time output +=over 4 -C I C I, C I C -I, C, C, C -I, C, C, C, C, C, C, -C +=item POD -=item Types of nodes +=item README, INSTALL, release notes, changelogs -=item Run-time output +perl Makefile.PL, make, make test, make install, perl Build.PL, perl Build, +perl Build test, perl Build install =back -=item Debugging Perl memory usage +=item RELEASE CONSIDERATIONS =over 4 -=item Using C<$ENV{PERL_DEBUG_MSTATS}> +=item Version numbering -C, Free/Used, C, C, C, C, C +=item Pre-requisites -=item Example of using B<-DL> switch +=item Testing -C<717>, C<002>, C<054>, C<602>, C<702>, C<704> +=item Packaging -=item B<-DL> details +=item Licensing -C, C, C +=back -=item Limitations of B<-DL> statistics +=item COMMON PITFALLS + +=over 4 + +=item Reinventing the wheel + +=item Trying to do too much + +=item Inappropriate documentation =back =item SEE ALSO +L, L, L, L, Packaging Tools, +Testing tools, http://pause.perl.org/, Any good book on software +engineering + +=item AUTHOR + =back -=head2 perlxstut, perlXStut - Tutorial for writing XSUBs +=head2 perlmodinstall - Installing CPAN Modules =over 4 =item DESCRIPTION -=item SPECIAL NOTES - =over 4 -=item make - -=item Version caveat +=item PREAMBLE -=item Dynamic Loading versus Static Loading +B the file, B the file into a directory, B the +module (sometimes unnecessary), B the module =back -=item TUTORIAL +=item PORTABILITY -=over 4 +=item HEY -=item EXAMPLE 1 +=item AUTHOR -=item EXAMPLE 2 +=item COPYRIGHT -=item What has gone on? +=back -=item Writing good test scripts +=head2 perlnewmod - preparing a new module for distribution -=item EXAMPLE 3 +=over 4 -=item What's new here? +=item DESCRIPTION -=item Input and Output Parameters +=over 4 -=item The XSUBPP Program +=item Warning -=item The TYPEMAP file +=item What should I make into a module? -=item Warning about Output Arguments +=item Step-by-step: Preparing the ground -=item EXAMPLE 4 +Look around, Check it's new, Discuss the need, Choose a name, Check again -=item What has happened here? +=item Step-by-step: Making the module -=item Anatomy of .xs file +Start with F or F, Use L and +L, Use L, Use L - wisely!, +Use L, Write tests, Write the README -=item Getting the fat out of XSUBs +=item Step-by-step: Distributing your module -=item More about XSUB arguments +Get a CPAN user ID, C, Upload the +tarball, Announce to the modules list, Announce to clpa, Fix bugs! -=item The Argument Stack +=back -=item Extending your Extension +=item AUTHOR -=item Documenting your Extension +=item SEE ALSO -=item Installing your Extension +=back -=item EXAMPLE 5 +=head2 perlutil - utilities packaged with the Perl distribution -=item New Things in this Example +=over 4 -=item EXAMPLE 6 +=item DESCRIPTION -=item New Things in this Example +=over 4 -=item EXAMPLE 7 (Coming Soon) +=item DOCUMENTATION -=item EXAMPLE 8 (Coming Soon) +L, L and L, +L and L, L, +L, L, L, +L -=item EXAMPLE 9 Passing open files to XSes +=item CONVERTORS -=item Troubleshooting these Examples +L, L, L -=back +=item Administration -=item See also +L -=item Author +=item Development -=over 4 +L, L, L and L, +L, L, L -=item Last Changed +=item SEE ALSO =back =back -=head2 perlxs - XS language reference manual +=head2 perlcompile - Introduction to the Perl Compiler-Translator =over 4 @@ -3952,1285 +3975,2307 @@ C, C, C =over 4 -=item Introduction +=item Layout -=item On The Road +B::Bytecode, B::C, B::CC, B::Lint, B::Deparse, B::Xref -=item The Anatomy of an XSUB +=back -=item The Argument Stack +=item Using The Back Ends -=item The RETVAL Variable +=over 4 -=item The MODULE Keyword +=item The Cross Referencing Back End -=item The PACKAGE Keyword +i, &, s, r -=item The PREFIX Keyword +=item The Decompiling Back End -=item The OUTPUT: Keyword +=item The Lint Back End -=item The NO_OUTPUT Keyword +=item The Simple C Back End -=item The CODE: Keyword +=item The Bytecode Back End -=item The INIT: Keyword +=item The Optimized C Back End -=item The NO_INIT Keyword +=back -=item Initializing Function Parameters +=item Module List for the Compiler Suite + +B, O, B::Asmdata, B::Assembler, B::Bblock, B::Bytecode, B::C, B::CC, +B::Concise, B::Debug, B::Deparse, B::Disassembler, B::Lint, B::Showlex, +B::Stackobj, B::Stash, B::Terse, B::Xref + +=item KNOWN PROBLEMS + +=item AUTHOR + +=back + +=head2 perlfilter - Source Filters + +=over 4 + +=item DESCRIPTION + +=item CONCEPTS + +=item USING FILTERS + +=item WRITING A SOURCE FILTER + +=item WRITING A SOURCE FILTER IN C + +B + +=item CREATING A SOURCE FILTER AS A SEPARATE EXECUTABLE + +=item WRITING A SOURCE FILTER IN PERL + +=item USING CONTEXT: THE DEBUG FILTER + +=item CONCLUSION + +=item THINGS TO LOOK OUT FOR + +Some Filters Clobber the C Handle + +=item REQUIREMENTS + +=item AUTHOR + +=item Copyrights + +=back + +=head2 perlglossary - Perl Glossary + +=over 4 + +=item DESCRIPTION + +=item Terms + +accessor methods, actual arguments, address operator, algorithm, alias, +alternatives, anonymous, architecture, argument, ARGV, arithmetical +operator, array, array context, ASCII, assertion, assignment, assignment +operator, associative array, associativity, asynchronous, atom, atomic +operation, attribute, autogeneration, autoincrement, autoload, autosplit, +autovivification, AV, awk, backreference, backtracking, backward +compatibility, bareword, base class, big-endian, binary, binary operator, +bind, bit, bit shift, bit string, bless, block, BLOCK, block buffering, +Boolean, Boolean context, breakpoint, broadcast, BSD, bucket, buffer, +built-in, bundle, byte, bytecode, C, C preprocessor, call by reference, +call by value, callback, canonical, capturing, character, character class, +character property, circumfix operator, class, class method, client, +cloister, closure, cluster, CODE, code generator, code subpattern, +collating sequence, command, command buffering, command name, command-line +arguments, comment, compilation unit, compile phase, compile time, +compiler, composer, concatenation, conditional, connection, construct, +constructor, context, continuation, core dump, CPAN, cracker, current +package, current working directory, currently selected output channel, CV, +dangling statement, data structure, data type, datagram, DBM, declaration, +decrement, default, defined, delimiter, dereference, derived class, +descriptor, destroy, destructor, device, directive, directory, directory +handle, dispatch, distribution, dweomer, dwimmer, dynamic scoping, +eclectic, element, embedding, empty subclass test, en passant, +encapsulation, endian, environment, environment variable, EOF, errno, +error, escape sequence, exception, exception handling, exec, executable +file, execute, execute bit, exit status, export, expression, extension, +false, FAQ, fatal error, field, FIFO, file, file descriptor, file test +operator, fileglob, filehandle, filename, filesystem, filter, flag, +floating point, flush, FMTEYEWTK, fork, formal arguments, format, freely +available, freely redistributable, freeware, function, funny character, +garbage collection, GID, glob, global, global destruction, glue language, +granularity, greedy, grep, group, GV, hacker, handler, hard reference, +hash, hash table, header file, here document, hexadecimal, home directory, +host, hubris, HV, identifier, impatience, implementation, import, +increment, indexing, indirect filehandle, indirect object, indirect object +slot, indirection, infix, inheritance, instance, instance variable, +integer, interface, interpolation, interpreter, invocant, invocation, I/O, +IO, IP, IPC, is-a, iteration, iterator, IV, JAPH, key, keyword, label, +laziness, left shift, leftmost longest, lexeme, lexer, lexical analysis, +lexical scoping, lexical variable, library, LIFO, line, line buffering, +line number, link, LIST, list, list context, list operator, list value, +literal, little-endian, local, logical operator, lookahead, lookbehind, +loop, loop control statement, loop label, lvaluable, lvalue, lvalue +modifier, magic, magical increment, magical variables, Makefile, man, +manpage, matching, member data, memory, metacharacter, metasymbol, method, +minimalism, mode, modifier, module, modulus, monger, mortal, +multidimensional array, multiple inheritance, named pipe, namespace, +network address, newline, NFS, null character, null list, null string, +numeric context, NV, nybble, object, octal, offset, one-liner, open source +software, operand, operating system, operator, operator overloading, +options, overloading, overriding, owner, package, pad, parameter, parent +class, parse tree, parsing, patch, PATH, pathname, pattern, pattern +matching, permission bits, Pern, pipe, pipeline, platform, pod, pointer, +polymorphism, port, portable, porter, POSIX, postfix, pp, pragma, +precedence, prefix, preprocessing, procedure, process, program generator, +progressive matching, property, protocol, prototype, pseudofunction, +pseudohash, pseudoliteral, public domain, pumpkin, pumpking, PV, qualified, +quantifier, readable, reaping, record, recursion, reference, referent, +regex, regular expression, regular expression modifier, regular file, +relational operator, reserved words, return value, RFC, right shift, root, +RTFM, run phase, run time, run-time pattern, RV, rvalue, scalar, scalar +context, scalar literal, scalar value, scalar variable, scope, scratchpad, +script, script kiddie, sed, semaphore, separator, serialization, server, +service, setgid, setuid, shared memory, shebang, shell, side effects, +signal, signal handler, single inheritance, slice, slurp, socket, soft +reference, source filter, stack, standard, standard error, standard I/O, +standard input, standard output, stat structure, statement, statement +modifier, static, static method, static scoping, static variable, status, +STDERR, STDIN, STDIO, STDOUT, stream, string, string context, +stringification, struct, structure, subclass, subpattern, subroutine, +subscript, substitution, substring, superclass, superuser, SV, switch, +switch cluster, switch statement, symbol, symbol table, symbolic debugger, +symbolic link, symbolic reference, synchronous, syntactic sugar, syntax, +syntax tree, syscall, tainted, TCP, term, terminator, ternary, text, +thread, tie, TMTOWTDI, token, tokener, tokenizing, toolbox approach, +transliterate, trigger, trinary, troff, true, truncating, type, type +casting, typed lexical, typedef, typeglob, typemap, UDP, UID, umask, unary +operator, Unicode, Unix, value, variable, variable interpolation, variadic, +vector, virtual, void context, v-string, warning, watch expression, +whitespace, word, working directory, wrapper, WYSIWYG, XS, XSUB, yacc, zero +width, zombie + +=item AUTHOR AND COPYRIGHT + +=back + +=head2 perlembed - how to embed perl in your C program + +=over 4 + +=item DESCRIPTION + +=over 4 + +=item PREAMBLE + +B, B, B, B, B + +=item ROADMAP + +=item Compiling your C program + +=item Adding a Perl interpreter to your C program + +=item Calling a Perl subroutine from your C program + +=item Evaluating a Perl statement from your C program + +=item Performing Perl pattern matches and substitutions from your C program + +=item Fiddling with the Perl stack from your C program + +=item Maintaining a persistent interpreter + +=item Execution of END blocks + +=item Maintaining multiple interpreter instances + +=item Using Perl modules, which themselves use C libraries, from your C +program + +=back + +=item Embedding Perl under Win32 + +=item Hiding Perl_ + +=item MORAL + +=item AUTHOR + +=item COPYRIGHT + +=back + +=head2 perldebguts - Guts of Perl debugging + +=over 4 + +=item DESCRIPTION + +=item Debugger Internals + +=over 4 + +=item Writing Your Own Debugger + +=back + +=item Frame Listing Output Examples + +=item Debugging regular expressions + +=over 4 + +=item Compile-time output + +C I C I, C I C +I, C, C, C +I, C, C, C, C, C, C, +C + +=item Types of nodes + +=item Run-time output + +=back + +=item Debugging Perl memory usage + +=over 4 + +=item Using C<$ENV{PERL_DEBUG_MSTATS}> + +C, Free/Used, C, C, C, C, C + +=item Example of using B<-DL> switch + +C<717>, C<002>, C<054>, C<602>, C<702>, C<704> + +=item B<-DL> details + +C, C, C + +=item Limitations of B<-DL> statistics + +=back + +=item SEE ALSO + +=back + +=head2 perlxstut, perlXStut - Tutorial for writing XSUBs + +=over 4 + +=item DESCRIPTION + +=item SPECIAL NOTES + +=over 4 + +=item make + +=item Version caveat + +=item Dynamic Loading versus Static Loading + +=back + +=item TUTORIAL + +=over 4 + +=item EXAMPLE 1 + +=item EXAMPLE 2 + +=item What has gone on? + +=item Writing good test scripts + +=item EXAMPLE 3 + +=item What's new here? + +=item Input and Output Parameters + +=item The XSUBPP Program + +=item The TYPEMAP file + +=item Warning about Output Arguments + +=item EXAMPLE 4 + +=item What has happened here? + +=item Anatomy of .xs file + +=item Getting the fat out of XSUBs + +=item More about XSUB arguments + +=item The Argument Stack + +=item Extending your Extension + +=item Documenting your Extension + +=item Installing your Extension + +=item EXAMPLE 5 + +=item New Things in this Example + +=item EXAMPLE 6 + +=item New Things in this Example + +=item EXAMPLE 7 (Coming Soon) + +=item EXAMPLE 8 (Coming Soon) + +=item EXAMPLE 9 Passing open files to XSes + +=item Troubleshooting these Examples + +=back + +=item See also + +=item Author + +=over 4 + +=item Last Changed + +=back + +=back + +=head2 perlxs - XS language reference manual + +=over 4 + +=item DESCRIPTION + +=over 4 + +=item Introduction + +=item On The Road + +=item The Anatomy of an XSUB + +=item The Argument Stack + +=item The RETVAL Variable + +=item Returning SVs, AVs and HVs through RETVAL + +=item The MODULE Keyword + +=item The PACKAGE Keyword + +=item The PREFIX Keyword + +=item The OUTPUT: Keyword + +=item The NO_OUTPUT Keyword + +=item The CODE: Keyword + +=item The INIT: Keyword + +=item The NO_INIT Keyword + +=item Initializing Function Parameters =item Default Parameter Values -=item The PREINIT: Keyword +=item The PREINIT: Keyword + +=item The SCOPE: Keyword + +=item The INPUT: Keyword + +=item The IN/OUTLIST/IN_OUTLIST/OUT/IN_OUT Keywords + +=item The C Keyword + +=item Variable-length Parameter Lists + +=item The C_ARGS: Keyword + +=item The PPCODE: Keyword + +=item Returning Undef And Empty Lists + +=item The REQUIRE: Keyword + +=item The CLEANUP: Keyword + +=item The POSTCALL: Keyword + +=item The BOOT: Keyword + +=item The VERSIONCHECK: Keyword + +=item The PROTOTYPES: Keyword + +=item The PROTOTYPE: Keyword + +=item The ALIAS: Keyword + +=item The OVERLOAD: Keyword + +=item The FALLBACK: Keyword + +=item The INTERFACE: Keyword + +=item The INTERFACE_MACRO: Keyword + +=item The INCLUDE: Keyword + +=item The CASE: Keyword + +=item The & Unary Operator + +=item Inserting POD, Comments and C Preprocessor Directives + +=item Using XS With C++ + +=item Interface Strategy + +=item Perl Objects And C Structures + +=item The Typemap + +=item Safely Storing Static Data in XS + +MY_CXT_KEY, typedef my_cxt_t, START_MY_CXT, MY_CXT_INIT, dMY_CXT, MY_CXT + +=back + +=item EXAMPLES + +=item XS VERSION + +=item AUTHOR + +=back + +=head2 perlclib - Internal replacements for standard C library functions + +=over 4 + +=item DESCRIPTION + +=over 4 + +=item Conventions + +C, C

, C, C + +=item File Operations + +=item File Input and Output + +=item File Positioning + +=item Memory Management and String Handling + +=item Character Class Tests + +=item F functions + +=item Miscellaneous functions + +=back + +=item SEE ALSO + +=back + +=head2 perlguts - Introduction to the Perl API + +=over 4 + +=item DESCRIPTION + +=item Variables + +=over 4 + +=item Datatypes + +=item What is an "IV"? + +=item Working with SVs + +=item Offsets + +=item What's Really Stored in an SV? + +=item Working with AVs + +=item Working with HVs + +=item Hash API Extensions + +=item AVs, HVs and undefined values + +=item References + +=item Blessed References and Class Objects + +=item Creating New Variables + +GV_ADDMULTI, GV_ADDWARN + +=item Reference Counts and Mortality + +=item Stashes and Globs + +=item Double-Typed SVs + +=item Magic Variables + +=item Assigning Magic + +=item Magic Virtual Tables + +=item Finding Magic + +=item Understanding the Magic of Tied Hashes and Arrays + +=item Localizing changes + +C, C, C, C, +C, C, C, C, C, C, C, +C, +C, +C, C, C, C, C, +C, C, +C, C, C + +=back + +=item Subroutines + +=over 4 + +=item XSUBs and the Argument Stack + +=item Calling Perl Routines from within C Programs + +=item Memory Allocation + +=item PerlIO + +=item Putting a C value on Perl stack + +=item Scratchpads + +=item Scratchpads and recursion + +=back + +=item Compiled code + +=over 4 + +=item Code tree + +=item Examining the tree + +=item Compile pass 1: check routines + +=item Compile pass 1a: constant folding + +=item Compile pass 2: context propagation + +=item Compile pass 3: peephole optimization + +=item Pluggable runops + +=back + +=item Examining internal data structures with the C functions + +=item How multiple interpreters and concurrency are supported + +=over 4 + +=item Background and PERL_IMPLICIT_CONTEXT + +=item So what happened to dTHR? + +=item How do I use all this in extensions? + +=item Should I do anything special if I call perl from multiple threads? + +=item Future Plans and PERL_IMPLICIT_SYS + +=back + +=item Internal Functions + +A, p, d, s, n, r, f, M, o, x, m, X, E, b + +=over 4 + +=item Formatted Printing of IVs, UVs, and NVs + +=item Pointer-To-Integer and Integer-To-Pointer + +=item Exception Handling + +=item Source Documentation + +=item Backwards compatibility + +=back + +=item Unicode Support + +=over 4 + +=item What B Unicode, anyway? + +=item How can I recognise a UTF-8 string? + +=item How does UTF-8 represent Unicode characters? + +=item How does Perl store UTF-8 strings? + +=item How do I convert a string to UTF-8? + +=item Is there anything else I need to know? + +=back + +=item Custom Operators + +=item AUTHORS + +=item SEE ALSO + +=back + +=head2 perlcall - Perl calling conventions from C + +=over 4 + +=item DESCRIPTION + +An Error Handler, An Event Driven Program + +=item THE CALL_ FUNCTIONS + +call_sv, call_pv, call_method, call_argv + +=item FLAG VALUES + +=over 4 + +=item G_VOID + +=item G_SCALAR + +=item G_ARRAY + +=item G_DISCARD + +=item G_NOARGS + +=item G_EVAL + +=item G_KEEPERR + +=item Determining the Context + +=back + +=item KNOWN PROBLEMS + +=item EXAMPLES + +=over 4 + +=item No Parameters, Nothing returned + +=item Passing Parameters + +=item Returning a Scalar + +=item Returning a list of values + +=item Returning a list in a scalar context + +=item Returning Data from Perl via the parameter list + +=item Using G_EVAL + +=item Using G_KEEPERR + +=item Using call_sv + +=item Using call_argv + +=item Using call_method + +=item Using GIMME_V + +=item Using Perl to dispose of temporaries + +=item Strategies for storing Callback Context Information + +1. Ignore the problem - Allow only 1 callback, 2. Create a sequence of +callbacks - hard wired limit, 3. Use a parameter to map to the Perl +callback + +=item Alternate Stack Manipulation + +=item Creating and calling an anonymous subroutine in C + +=back + +=item SEE ALSO + +=item AUTHOR + +=item DATE + +=back + +=head2 perlapi - autogenerated documentation for the perl public API + +=over 4 + +=item DESCRIPTION + +=item "Gimme" Values + +GIMME, GIMME_V, G_ARRAY, G_DISCARD, G_EVAL, G_NOARGS, G_SCALAR, G_VOID + +=item Array Manipulation Functions + +AvFILL, av_clear, av_delete, av_exists, av_extend, av_fetch, av_fill, +av_len, av_make, av_pop, av_push, av_shift, av_store, av_undef, av_unshift, +get_av, newAV, sortsv + +=item Callback Functions + +call_argv, call_method, call_pv, call_sv, ENTER, eval_pv, eval_sv, +FREETMPS, LEAVE, SAVETMPS + +=item Character classes -=item The SCOPE: Keyword +isALNUM, isALPHA, isDIGIT, isLOWER, isSPACE, isUPPER, toLOWER, toUPPER -=item The INPUT: Keyword +=item Cloning an interpreter -=item The IN/OUTLIST/IN_OUTLIST/OUT/IN_OUT Keywords +perl_clone -=item The C Keyword +=item CV Manipulation Functions -=item Variable-length Parameter Lists +CvSTASH, get_cv + +=item Embedding Functions + +cv_undef, load_module, nothreadhook, perl_alloc, perl_construct, +perl_destruct, perl_free, perl_parse, perl_run, require_pv + +=item Functions in file pp_pack.c + +packlist, pack_cat, unpackstring, unpack_str + +=item Global Variables + +PL_modglobal, PL_na, PL_sv_no, PL_sv_undef, PL_sv_yes + +=item GV Functions + +GvSV, gv_fetchmeth, gv_fetchmethod, gv_fetchmethod_autoload, +gv_fetchmeth_autoload, gv_stashpv, gv_stashpvn, gv_stashsv + +=item Handy Values + +Nullav, Nullch, Nullcv, Nullhv, Nullsv + +=item Hash Manipulation Functions + +get_hv, HEf_SVKEY, HeHASH, HeKEY, HeKLEN, HePV, HeSVKEY, HeSVKEY_force, +HeSVKEY_set, HeVAL, HvNAME, hv_assert, hv_clear, hv_clear_placeholders, +hv_delete, hv_delete_ent, hv_exists, hv_exists_ent, hv_fetch, hv_fetch_ent, +hv_iterinit, hv_iterkey, hv_iterkeysv, hv_iternext, hv_iternextsv, +hv_iternext_flags, hv_iterval, hv_magic, hv_scalar, hv_store, hv_store_ent, +hv_undef, newHV + +=item Magical Functions + +mg_clear, mg_copy, mg_find, mg_free, mg_get, mg_length, mg_magical, mg_set, +SvGETMAGIC, SvLOCK, SvSETMAGIC, SvSetMagicSV, SvSetMagicSV_nosteal, +SvSetSV, SvSetSV_nosteal, SvSHARE, SvUNLOCK + +=item Memory Management + +Copy, CopyD, Move, MoveD, New, Newc, Newz, Poison, Renew, Renewc, Safefree, +savepv, savepvn, savesharedpv, savesvpv, StructCopy, Zero, ZeroD + +=item Miscellaneous Functions + +fbm_compile, fbm_instr, form, getcwd_sv, new_version, scan_version, strEQ, +strGE, strGT, strLE, strLT, strNE, strnEQ, strnNE, sv_nolocking, +sv_nosharing, sv_nounlocking, upg_version, vcmp, vnormal, vnumify, +vstringify + +=item Numeric functions + +grok_bin, grok_hex, grok_number, grok_numeric_radix, grok_oct, scan_bin, +scan_hex, scan_oct + +=item Optree Manipulation Functions + +cv_const_sv, newCONSTSUB, newXS + +=item Pad Data Structures + +pad_sv + +=item Simple Exception Handling Macros + +dXCPT, XCPT_CATCH, XCPT_RETHROW, XCPT_TRY_END, XCPT_TRY_START + +=item Stack Manipulation Macros + +dMARK, dORIGMARK, dSP, EXTEND, MARK, mPUSHi, mPUSHn, mPUSHp, mPUSHu, +mXPUSHi, mXPUSHn, mXPUSHp, mXPUSHu, ORIGMARK, POPi, POPl, POPn, POPp, +POPpbytex, POPpx, POPs, PUSHi, PUSHMARK, PUSHmortal, PUSHn, PUSHp, PUSHs, +PUSHu, PUTBACK, SP, SPAGAIN, XPUSHi, XPUSHmortal, XPUSHn, XPUSHp, XPUSHs, +XPUSHu, XSRETURN, XSRETURN_EMPTY, XSRETURN_IV, XSRETURN_NO, XSRETURN_NV, +XSRETURN_PV, XSRETURN_UNDEF, XSRETURN_UV, XSRETURN_YES, XST_mIV, XST_mNO, +XST_mNV, XST_mPV, XST_mUNDEF, XST_mYES + +=item SV Flags + +svtype, SVt_IV, SVt_NV, SVt_PV, SVt_PVAV, SVt_PVCV, SVt_PVHV, SVt_PVMG + +=item SV Manipulation Functions + +get_sv, looks_like_number, newRV_inc, newRV_noinc, NEWSV, newSV, newSVhek, +newSViv, newSVnv, newSVpv, newSVpvf, newSVpvn, newSVpvn_share, newSVrv, +newSVsv, newSVuv, SvCUR, SvCUR_set, SvEND, SvGROW, SvIOK, SvIOKp, +SvIOK_notUV, SvIOK_off, SvIOK_on, SvIOK_only, SvIOK_only_UV, SvIOK_UV, +SvIsCOW, SvIsCOW_shared_hash, SvIV, SvIVX, SvIVx, SvIV_nomg, SvIV_set, +SvLEN, SvLEN_set, SvMAGIC_set, SvNIOK, SvNIOKp, SvNIOK_off, SvNOK, SvNOKp, +SvNOK_off, SvNOK_on, SvNOK_only, SvNV, SvNVX, SvNVx, SvNV_set, SvOK, SvOOK, +SvPOK, SvPOKp, SvPOK_off, SvPOK_on, SvPOK_only, SvPOK_only_UTF8, SvPV, +SvPVbyte, SvPVbytex, SvPVbytex_force, SvPVbyte_force, SvPVbyte_nolen, +SvPVutf8, SvPVutf8x, SvPVutf8x_force, SvPVutf8_force, SvPVutf8_nolen, +SvPVX, SvPVx, SvPV_force, SvPV_force_nomg, SvPV_nolen, SvPV_nomg, SvPV_set, +SvREFCNT, SvREFCNT_dec, SvREFCNT_inc, SvROK, SvROK_off, SvROK_on, SvRV, +SvRV_set, SvSTASH, SvSTASH_set, SvTAINT, SvTAINTED, SvTAINTED_off, +SvTAINTED_on, SvTRUE, SvTYPE, SvUOK, SvUPGRADE, SvUTF8, SvUTF8_off, +SvUTF8_on, SvUV, SvUVX, SvUVx, SvUV_nomg, SvUV_set, SvVOK, sv_2bool, +sv_2cv, sv_2io, sv_2iv_flags, sv_2mortal, sv_2nv, sv_2pvbyte, +sv_2pvbyte_nolen, sv_2pvutf8, sv_2pvutf8_nolen, sv_2pv_flags, sv_2pv_nolen, +sv_2uv_flags, sv_backoff, sv_bless, sv_catpv, sv_catpvf, sv_catpvf_mg, +sv_catpvn, sv_catpvn_flags, sv_catpvn_mg, sv_catpvn_nomg, sv_catpv_mg, +sv_catsv, sv_catsv_flags, sv_catsv_mg, sv_catsv_nomg, sv_chop, sv_clear, +sv_cmp, sv_cmp_locale, sv_collxfrm, sv_copypv, sv_dec, sv_derived_from, +sv_eq, sv_force_normal, sv_force_normal_flags, sv_free, sv_gets, sv_grow, +sv_inc, sv_insert, sv_isa, sv_isobject, sv_iv, sv_len, sv_len_utf8, +sv_magic, sv_magicext, sv_mortalcopy, sv_newmortal, sv_newref, sv_nv, +sv_pos_b2u, sv_pos_u2b, sv_pv, sv_pvbyte, sv_pvbyten, sv_pvbyten_force, +sv_pvn, sv_pvn_force, sv_pvn_force_flags, sv_pvutf8, sv_pvutf8n, +sv_pvutf8n_force, sv_reftype, sv_replace, sv_report_used, sv_reset, +sv_rvweaken, sv_setiv, sv_setiv_mg, sv_setnv, sv_setnv_mg, sv_setpv, +sv_setpvf, sv_setpvf_mg, sv_setpviv, sv_setpviv_mg, sv_setpvn, +sv_setpvn_mg, sv_setpv_mg, sv_setref_iv, sv_setref_nv, sv_setref_pv, +sv_setref_pvn, sv_setref_uv, sv_setsv, sv_setsv_flags, sv_setsv_mg, +sv_setsv_nomg, sv_setuv, sv_setuv_mg, sv_taint, sv_tainted, sv_true, +sv_unmagic, sv_unref, sv_unref_flags, sv_untaint, sv_upgrade, sv_usepvn, +sv_usepvn_mg, sv_utf8_decode, sv_utf8_downgrade, sv_utf8_encode, +sv_utf8_upgrade, sv_utf8_upgrade_flags, sv_uv, sv_vcatpvf, sv_vcatpvfn, +sv_vcatpvf_mg, sv_vsetpvf, sv_vsetpvfn, sv_vsetpvf_mg + +=item Unicode Support + +bytes_from_utf8, bytes_to_utf8, ibcmp_utf8, is_utf8_char, is_utf8_string, +is_utf8_string_loc, is_utf8_string_loclen, pv_uni_display, sv_cat_decode, +sv_recode_to_utf8, sv_uni_display, to_utf8_case, to_utf8_fold, +to_utf8_lower, to_utf8_title, to_utf8_upper, utf8n_to_uvchr, +utf8n_to_uvuni, utf8_distance, utf8_hop, utf8_length, utf8_to_bytes, +utf8_to_uvchr, utf8_to_uvuni, uvchr_to_utf8, uvuni_to_utf8_flags + +=item Variables created by C and C internal functions + +ax, CLASS, dAX, dAXMARK, dITEMS, dUNDERBAR, dXSARGS, dXSI32, items, ix, +newXSproto, RETVAL, ST, THIS, UNDERBAR, XS, XS_VERSION, +XS_VERSION_BOOTCHECK + +=item Warning and Dieing + +croak, warn + +=item AUTHORS + +=item SEE ALSO + +=back + +=head2 perlintern - autogenerated documentation of purely B + Perl functions + +=over 4 + +=item DESCRIPTION + +=item CV reference counts and CvOUTSIDE + +CvWEAKOUTSIDE + +=item Functions in file pad.h + +CX_CURPAD_SAVE, CX_CURPAD_SV, PAD_BASE_SV, PAD_CLONE_VARS, +PAD_COMPNAME_FLAGS, PAD_COMPNAME_GEN, PAD_COMPNAME_GEN_set, +PAD_COMPNAME_OURSTASH, PAD_COMPNAME_PV, PAD_COMPNAME_TYPE, PAD_DUP, +PAD_RESTORE_LOCAL, PAD_SAVE_LOCAL, PAD_SAVE_SETNULLPAD, PAD_SETSV, +PAD_SET_CUR, PAD_SET_CUR_NOSAVE, PAD_SV, PAD_SVl, SAVECLEARSV, SAVECOMPPAD, +SAVEPADSV + +=item Functions in file pp_ctl.c + +find_runcv + +=item Global Variables + +PL_DBsingle, PL_DBsub, PL_DBtrace, PL_dowarn, PL_last_in_gv, PL_ofs_sv, +PL_rs + +=item GV Functions + +is_gv_magical, is_gv_magical_sv + +=item IO Functions + +start_glob + +=item Magical Functions + +mg_localize + +=item Pad Data Structures + +CvPADLIST, cv_clone, cv_dump, do_dump_pad, intro_my, pad_add_anon, +pad_add_name, pad_alloc, pad_block_start, pad_check_dup, pad_findlex, +pad_findmy, pad_fixup_inner_anons, pad_free, pad_leavemy, pad_new, +pad_push, pad_reset, pad_setsv, pad_swipe, pad_tidy, pad_undef + +=item Stack Manipulation Macros + +djSP, LVRET + +=item SV Manipulation Functions + +find_uninit_var, report_uninit, sv_add_arena, sv_clean_all, sv_clean_objs, +sv_free_arenas + +=item AUTHORS + +=item SEE ALSO + +=back + +=head2 perliol - C API for Perl's implementation of IO in Layers. + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item History and Background + +=item Basic Structure + +=item Layers vs Disciplines + +=item Data Structures + +=item Functions and Attributes + +=item Per-instance Data + +=item Layers in action. + +=item Per-instance flag bits + +PERLIO_F_EOF, PERLIO_F_CANWRITE, PERLIO_F_CANREAD, PERLIO_F_ERROR, +PERLIO_F_TRUNCATE, PERLIO_F_APPEND, PERLIO_F_CRLF, PERLIO_F_UTF8, +PERLIO_F_UNBUF, PERLIO_F_WRBUF, PERLIO_F_RDBUF, PERLIO_F_LINEBUF, +PERLIO_F_TEMP, PERLIO_F_OPEN, PERLIO_F_FASTGETS + +=item Methods in Detail + +fsize, name, size, kind, PERLIO_K_BUFFERED, PERLIO_K_RAW, PERLIO_K_CANCRLF, +PERLIO_K_FASTGETS, PERLIO_K_MULTIARG, Pushed, Popped, Open, Binmode, +Getarg, Fileno, Dup, Read, Write, Seek, Tell, Close, Flush, Fill, Eof, +Error, Clearerr, Setlinebuf, Get_base, Get_bufsiz, Get_ptr, Get_cnt, +Set_ptrcnt + +=item Utilities + +=item Implementing PerlIO Layers + +C implementations, Perl implementations + +=item Core Layers + +"unix", "perlio", "stdio", "crlf", "mmap", "pending", "raw", "utf8" + +=item Extension Layers + +":encoding", ":scalar", ":via" + +=back + +=item TODO + +=back + +=head2 perlapio - perl's IO abstraction interface. + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +1. USE_STDIO, 2. USE_SFIO, 3. USE_PERLIO, B, +B, B, B, +B, B, +B, B, +B, B, +B, B, B, +B, B, B, +B, B, B, +B, B, B, +B, B, B, +B, B, B + +=over 4 + +=item Co-existence with stdio + +B, B, +B, B + +=item "Fast gets" Functions + +B, B, B, +B, B, B, +B, B, B, +B + +=item Other Functions + +PerlIO_apply_layers(f,mode,layers), PerlIO_binmode(f,ptype,imode,layers), +'E' read, 'E' write, '+' read/write, PerlIO_debug(fmt,...) + +=back + +=back + +=head2 perlhack - How to hack at the Perl internals + +=over 4 + +=item DESCRIPTION + +Does concept match the general goals of Perl?, Where is the +implementation?, Backwards compatibility, Could it be a module instead?, Is +the feature generic enough?, Does it potentially introduce new bugs?, Does +it preclude other desirable features?, Is the implementation robust?, Is +the implementation generic enough to be portable?, Is the implementation +tested?, Is there enough documentation?, Is there another way to do it?, +Does it create too much work?, Patches speak louder than words + +=over 4 + +=item Keeping in sync + +rsync'ing the source tree, Using rsync over the LAN, Using pushing over the +NFS, rsync'ing the patches + +=item Why rsync the source tree + +It's easier to rsync the source tree, It's more reliable + +=item Why rsync the patches + +It's easier to rsync the patches, It's a good reference, Finding a start +point, Finding how to fix a bug, Finding the source of misbehaviour + +=item Working with the source + +=item Perlbug administration + +=item Submitting patches + +L, L and L, L, +F, The perl5-porters FAQ -=item The C_ARGS: Keyword +=item Finding Your Way Around -=item The PPCODE: Keyword +Core modules, Tests, Documentation, Configure, Interpreter -=item Returning Undef And Empty Lists +=item Elements of the interpreter -=item The REQUIRE: Keyword +Startup, Parsing, Optimization, Running, Exception handing -=item The CLEANUP: Keyword +=item Internal Variable Types -=item The POSTCALL: Keyword +=item Op Trees -=item The BOOT: Keyword +=item Stacks -=item The VERSIONCHECK: Keyword +Argument stack, Mark stack, Save stack -=item The PROTOTYPES: Keyword +=item Millions of Macros -=item The PROTOTYPE: Keyword +=item The .i Targets -=item The ALIAS: Keyword +=item Poking at Perl -=item The OVERLOAD: Keyword +=item Using a source-level debugger -=item The INTERFACE: Keyword +run [args], break function_name, break source.c:xxx, step, next, continue, +finish, 'enter', print -=item The INTERFACE_MACRO: Keyword +=item gdb macro support -=item The INCLUDE: Keyword +=item Dumping Perl Data Structures -=item The CASE: Keyword +=item Patching -=item The & Unary Operator +=item Patching a core module -=item Inserting POD, Comments and C Preprocessor Directives +=item Adding a new function to the core -=item Using XS With C++ +=item Writing a test -=item Interface Strategy +F, F, F, F, F, F, +F, F, F, F, F, t/base t/comp, +t/cmd t/run t/io t/op, t/lib ext lib -=item Perl Objects And C Structures +=item Special Make Test Targets -=item The Typemap +coretest, test.deparse, test.taintwarn, minitest, test.valgrind +check.valgrind utest.valgrind ucheck.valgrind, test.third check.third +utest.third ucheck.third, test.torture torturetest, utest ucheck test.utf8 +check.utf8, minitest.utf16 test.utf16, test_harness, test-notty test_notty -=item Safely Storing Static Data in XS +=item Running tests by hand -MY_CXT_KEY, typedef my_cxt_t, START_MY_CXT, MY_CXT_INIT, dMY_CXT, MY_CXT +-v, -torture, -re=PATTERN, -re LIST OF PATTERNS, PERL_CORE=1, +PERL_DESTRUCT_LEVEL=2, PERL, PERL_SKIP_TTY_TEST =back -=item EXAMPLES +=item EXTERNAL TOOLS FOR DEBUGGING PERL -=item XS VERSION +=over 4 -=item AUTHOR +=item Rational Software's Purify -=back +=item Purify on Unix -=head2 perlclib - Internal replacements for standard C library functions +-Accflags=-DPURIFY, -Doptimize='-g', -Uusemymalloc, -Dusemultiplicity -=over 4 +=item Purify on NT -=item DESCRIPTION +DEFINES, USE_MULTI = define, #PERL_MALLOC = define, CFG = Debug -=over 4 +=item valgrind -=item Conventions +=item Compaq's/Digital's/HP's Third Degree -C, C

, C, C +=item PERL_DESTRUCT_LEVEL -=item File Operations +=item Profiling -=item File Input and Output +=item Gprof Profiling -=item File Positioning +-a, -b, -e routine, -f routine, -s, -z -=item Memory Management and String Handling +=item GCC gcov Profiling -=item Character Class Tests +=item Pixie Profiling -=item F functions +-h, -l, -p[rocedures], -h[eavy], -i[nvocations], -l[ines], -testcoverage, +-z[ero] -=item Miscellaneous functions +=item Miscellaneous tricks + +=item CONCLUSION + +I =back -=item SEE ALSO +=item AUTHOR =back -=head2 perlguts - Introduction to the Perl API +=head2 perlbook - Perl book information =over 4 =item DESCRIPTION -=item Variables +=back + +=head2 perltodo - Perl TO-DO List =over 4 -=item Datatypes +=item DESCRIPTION -=item What is an "IV"? +=item assertions -=item Working with SVs +=item iCOW -=item Offsets +=item (?{...}) closures in regexps -=item What's Really Stored in an SV? +=item A re-entrant regexp engine -=item Working with AVs +=item pragmata -=item Working with HVs +=over 4 -=item Hash API Extensions +=item lexical pragmas -=item References +=item use less 'memory' -=item Blessed References and Class Objects +=back -=item Creating New Variables +=item prototypes and functions -GV_ADDMULTI, GV_ADDWARN +=over 4 -=item Reference Counts and Mortality +=item _ prototype character -=item Stashes and Globs +=item inlining autoloaded constants -=item Double-Typed SVs +=item Finish off lvalue functions -=item Magic Variables +=back -=item Assigning Magic +=item Unicode and UTF8 -=item Magic Virtual Tables +=over 4 -=item Finding Magic +=item Implicit Latin 1 => Unicode translation -=item Understanding the Magic of Tied Hashes and Arrays +=item UTF8 caching code -=item Localizing changes +=item Unicode in Filenames -C, C, C, C, -C, C, C, C, C, C, C, -C, -C, -C, C, C, C, C, -C, C, -C, C, C +=item Unicode in %ENV =back -=item Subroutines +=item Regexps =over 4 -=item XSUBs and the Argument Stack - -=item Calling Perl Routines from within C Programs - -=item Memory Allocation +=item regexp optimiser optional -=item PerlIO +=back -=item Putting a C value on Perl stack +=item POD -=item Scratchpads +=over 4 -=item Scratchpads and recursion +=item POD -> HTML conversion still sucks =back -=item Compiled code +=item Misc medium sized projects =over 4 -=item Code tree +=item UNITCHECK -=item Examining the tree +=item optional optimizer -=item Compile pass 1: check routines +=item You WANT *how* many -=item Compile pass 1a: constant folding +=item lexical aliases -=item Compile pass 2: context propagation +=item no 6 -=item Compile pass 3: peephole optimization +=item IPv6 -=item Pluggable runops +=item entersub XS vs Perl -=back +=item @INC source filter to Filter::Simple -=item Examining internal data structures with the C functions +=item bincompat functions -=item How multiple interpreters and concurrency are supported +=item Use fchown/fchmod internally -=over 4 +=item Constant folding -=item Background and PERL_IMPLICIT_CONTEXT +=back -=item So what happened to dTHR? +=item Tests -=item How do I use all this in extensions? +=over 4 -=item Should I do anything special if I call perl from multiple threads? +=item Make Schwern poorer -=item Future Plans and PERL_IMPLICIT_SYS +=item test B -=back +=item common test code for timed bailout -=item Internal Functions +=back -A, p, d, s, n, r, f, M, o, j, x +=item Installation =over 4 -=item Formatted Printing of IVs, UVs, and NVs +=item compressed man pages -=item Pointer-To-Integer and Integer-To-Pointer +=item Make Config.pm cope with differences between build and installed perl -=item Source Documentation +=item Relocatable perl + +=item make HTML install work + +=item put patchlevel in -v =back -=item Unicode Support +=item Incremental things =over 4 -=item What B Unicode, anyway? +=item autovivification -=item How can I recognise a UTF8 string? +=item fix tainting bugs -=item How does UTF8 represent Unicode characters? +=item Make tainting consistent -=item How does Perl store UTF8 strings? +=item Dual life everything -=item How do I convert a string to UTF8? +=back -=item Is there anything else I need to know? +=item Vague things -=back +=over 4 -=item Custom Operators +=item threads -=item AUTHORS +=item POSIX memory footprint -=item SEE ALSO +=item Optimize away @_ -=back +=item switch ops -=head2 perlcall - Perl calling conventions from C +=item Attach/detach debugger from running program -=over 4 +=item A decent benchmark -=item DESCRIPTION +=item readpipe(LIST) -An Error Handler, An Event Driven Program +=item Self ties -=item THE CALL_ FUNCTIONS +=back -call_sv, call_pv, call_method, call_argv +=back -=item FLAG VALUES +=head2 perldoc - Look up Perl documentation in Pod format. =over 4 -=item G_VOID - -=item G_SCALAR +=item SYNOPSIS -=item G_ARRAY +=item DESCRIPTION -=item G_DISCARD +=item OPTIONS -=item G_NOARGS +B<-h>, B<-v>, B<-t>, B<-u>, B<-m> I, B<-l>, B<-F>, B<-f> +I, B<-q> I, B<-T>, B<-d> +I, B<-o> I, B<-M> I, +B<-w> I or B<-w> I

tag +=item SUPPORT FOR JAVASCRIPT + +B, B, B, B, B, B, +B, B, B, B + =item LIMITED SUPPORT FOR CASCADING STYLE SHEETS =item DEBUGGING @@ -9976,10 +11825,11 @@ the tag =item FETCHING ENVIRONMENT VARIABLES B, B, B, B, -B, B, B, B, -B, B, B, B, -B, B, B, -B, B, B, B +B, B, B Return the script +name as a partial URL, for self-refering scripts, B, B, B, B, B, +B, B, B, B, B, B, B, B =item USING NPH SCRIPTS @@ -10061,7 +11911,7 @@ other) error log =item MAKING WARNINGS APPEAR AS HTML COMMENTS -=item CHANGE LOG +=item OVERRIDING THE NAME OF THE PROGRAM =item AUTHORS @@ -10225,6 +12075,8 @@ FCGI_SOCKET_PATH, FCGI_LISTEN_QUEUE =item SYNOPSIS +=item STATUS + =item DESCRIPTION =over 4 @@ -10360,17 +12212,33 @@ module =back -=head2 Carp, carp - warn of errors (from perspective of caller) +=head2 Carp, carp - warn of errors (from perspective of caller) + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item Forcing a Stack Trace + +=back + +=item GLOBAL VARIABLES =over 4 -=item SYNOPSIS +=item $Carp::CarpLevel -=item DESCRIPTION +=item $Carp::MaxEvalLen -=over 4 +=item $Carp::MaxArgLen -=item Forcing a Stack Trace +=item $Carp::MaxArgNums + +=item $Carp::Verbose =back @@ -10378,7 +12246,7 @@ module =back -=head2 Carp::Heavy, Carp heavy machinery - no user serviceable parts inside +=head2 Carp::Heavy - heavy machinery, no user serviceable parts inside =head2 Class::ISA -- report the search path for a class's ISA tree @@ -10433,6 +12301,103 @@ Example 1, Example 2, Example 3 =back +=head2 Compress::Zlib - Interface to zlib compression library + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item DEFLATE + +=over 4 + +=item B<($d, $status) = deflateInit( [OPT] )> + +B<-Level>, B<-Method>, B<-WindowBits>, B<-MemLevel>, B<-Strategy>, +B<-Dictionary>, B<-Bufsize> + +=item B<($out, $status) = $d-Edeflate($buffer)> + +=item B<($out, $status) = $d-Eflush([flush_type])> + +=item B<$status = $d-EdeflateParams([OPT])> + +B<-Level>, B<-Strategy> + +=item B<$d-Edict_adler()> + +=item B<$d-Emsg()> + +=item B<$d-Etotal_in()> + +=item B<$d-Etotal_out()> + +=item Example + +=back + +=item INFLATE + +=over 4 + +=item B<($i, $status) = inflateInit()> + +B<-WindowBits>, B<-Bufsize>, B<-Dictionary> + +=item B<($out, $status) = $i-Einflate($buffer)> + +=item B<$status = $i-EinflateSync($buffer)> + +=item B<$i-Edict_adler()> + +=item B<$i-Emsg()> + +=item B<$i-Etotal_in()> + +=item B<$i-Etotal_out()> + +=item Example + +=back + +=item COMPRESS/UNCOMPRESS + +B<$dest = compress($source [, $level] ) ;>, B<$dest = uncompress($source) +;> + +=item GZIP INTERFACE + +B<$gz = gzopen(filename or filehandle, mode)>, B<$bytesread = +$gz-Egzread($buffer [, $size]) ;>, B<$bytesread = +$gz-Egzreadline($line) ;>, B<$byteswritten = $gz-Egzwrite($buffer) +;>, B<$status = $gz-Egzflush($flush) ;>, B<$status = $gz-Egzeof() +;>, B<$gz-Egzclose>, B<$gz-Egzsetparams($level, $strategy>, +B<$level>, B<$strategy>, B<$gz-Egzerror>, B<$gzerrno> + +=over 4 + +=item Examples + +=item Compress::Zlib::memGzip + +=item Compress::Zlib::memGunzip + +=back + +=item CHECKSUM FUNCTIONS + +=item ACCESSING ZIP FILES + +=item CONSTANTS + +=item AUTHOR + +=item MODIFICATION HISTORY + +=back + =head2 Config - access Perl configuration information =over 4 @@ -10441,7 +12406,7 @@ Example 1, Example 2, Example 3 =item DESCRIPTION -myconfig(), config_sh(), config_vars(@names) +myconfig(), config_sh(), config_re($regex), config_vars(@names) =item EXAMPLE @@ -10478,28 +12443,31 @@ C, C, C =item d -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, +C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, @@ -10512,48 +12480,51 @@ C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, +C, C, +C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, -C, C, C, -C, C, C, C, C, -C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, @@ -10562,12 +12533,13 @@ C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, +C, C, C, C, C, +C, C, C =item e @@ -10584,19 +12556,21 @@ C =item g -C, C, C, C, -C, C, C, -C, C, C, -C, C, C, -C, C, C, -C, C, C, -C, C, C, -C, C, C, C, C, C, -C, C, C, C, C +C, C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, +C, C, C, +C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C =item h -C, C, C, C +C, C, C, C, C, C, +C, C =item i @@ -10618,12 +12592,16 @@ C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, -C, C, C, -C, C, C, C, -C, C, C, -C, C, C, C, -C, C, C, C +C, C, C, C, C, +C, C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, C, +C, C, C, C, C =item k @@ -10647,8 +12625,9 @@ C, C =item M -C, C, C, C, C, C, -C, C, C, C, C, C +C, C, C, C, C, C, +C, C, C, C, C, C, +C =item n @@ -10672,8 +12651,8 @@ C, C C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, C, -C, C, C, C +C, C, C, C, C, C, +C, C, C =item q @@ -10694,16 +12673,19 @@ C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C =item t @@ -10716,23 +12698,27 @@ C C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, C, +C, C, C =item v C, C, C, C, -C, C, C, C, -C, C, C, +C, C, C, +C, C, C, C, +C, C, C, +C, C, C, C, +C, C, C, C, C, C =item x -C, C +C =item y @@ -10748,6 +12734,18 @@ C, C =back +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +dynamic, nonxs, static + +=item AUTHOR + +=back + =head2 Cwd - get pathname of current working directory =over 4 @@ -10760,7 +12758,7 @@ C, C =item getcwd and friends -getcwd, cwd, fastcwd, fastgetcwd +getcwd, cwd, fastcwd, fastgetcwd, getdcwd =item abs_path and friends @@ -10772,6 +12770,10 @@ abs_path, realpath, fast_abs_path =item NOTES +=item AUTHOR + +=item COPYRIGHT + =item SEE ALSO =back @@ -10813,6 +12815,74 @@ CLIENT->output(LIST) =back +=head2 DBM_Filter -- Filter DBM keys/values + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item What is a DBM Filter? + +=over 4 + +=item So what's new? + +=back + +=item METHODS + +=over 4 + +=item $db->Filter_Push() + +=item $db->Filter_Key_Push() + +=item $db->Filter_Value_Push() + +Filter_Push, Filter_Key_Push, Filter_Value_Push + +=item $db->Filter_Pop() + +=item $db->Filtered() + +=back + +=item Writing a Filter + +=over 4 + +=item Immediate Filters + +=item Canned Filters + +"name", params + +=back + +=item Filters Included + +utf8, encode, compress, int32, null + +=item NOTES + +=over 4 + +=item Maintain Round Trip Integrity + +=item Don't mix filtered & non-filtered data in the same database file. + +=back + +=item EXAMPLE + +=item SEE ALSO + +=item AUTHOR + +=back + =head2 DB_File - Perl5 access to Berkeley DB version 1.x =over 4 @@ -10973,22 +13043,6 @@ Dumper(I) =item Configuration Variables or Methods -$Data::Dumper::Indent I I<$OBJ>->Indent(I<[NEWVAL]>), -$Data::Dumper::Purity I I<$OBJ>->Purity(I<[NEWVAL]>), -$Data::Dumper::Pad I I<$OBJ>->Pad(I<[NEWVAL]>), -$Data::Dumper::Varname I I<$OBJ>->Varname(I<[NEWVAL]>), -$Data::Dumper::Useqq I I<$OBJ>->Useqq(I<[NEWVAL]>), -$Data::Dumper::Terse I I<$OBJ>->Terse(I<[NEWVAL]>), -$Data::Dumper::Freezer I $I->Freezer(I<[NEWVAL]>), -$Data::Dumper::Toaster I $I->Toaster(I<[NEWVAL]>), -$Data::Dumper::Deepcopy I $I->Deepcopy(I<[NEWVAL]>), -$Data::Dumper::Quotekeys I $I->Quotekeys(I<[NEWVAL]>), -$Data::Dumper::Bless I $I->Bless(I<[NEWVAL]>), -$Data::Dumper::Maxdepth I $I->Maxdepth(I<[NEWVAL]>), -$Data::Dumper::Useperl I $I->Useperl(I<[NEWVAL]>), -$Data::Dumper::Sortkeys I $I->Sortkeys(I<[NEWVAL]>), -$Data::Dumper::Deparse I $I->Deparse(I<[NEWVAL]>) - =item Exports Dumper @@ -10999,6 +13053,12 @@ Dumper =item BUGS +=over 4 + +=item NOTE + +=back + =item AUTHOR =item VERSION @@ -11027,7 +13087,7 @@ Dumper =back -=head2 Devel::PPPort, Perl/Pollution/Portability +=head2 Devel::PPPort - Perl/Pollution/Portability =over 4 @@ -11037,13 +13097,45 @@ Dumper =over 4 +=item Why use ppport.h? + +You should use F in modern code so that your code will work +with the widest range of Perl interpreters possible, without significant +additional work. + +=item How to use ppport.h + +=item Running ppport.h + +=back + +=item FUNCTIONS + +=over 4 + =item WriteFile =back -=item ppport.h +=item COMPATIBILITY -=item AUTHOR +=over 4 + +=item Provided Perl compatibility API + +=item Perl API not supported by ppport.h + +perl 5.9.2, perl 5.9.1, perl 5.9.0, perl 5.8.3, perl 5.8.1, perl 5.8.0, +perl 5.7.3, perl 5.7.2, perl 5.7.1, perl 5.6.1, perl 5.6.0, perl 5.005_03, +perl 5.005, perl 5.004_05, perl 5.004_04, perl 5.004 + +=back + +=item BUGS + +=item AUTHORS + +=item COPYRIGHT =item SEE ALSO @@ -11109,7 +13201,7 @@ Dumper =back -=head2 Digest:: - Modules that calculate message digests +=head2 Digest - Modules that calculate message digests =over 4 @@ -11122,8 +13214,12 @@ I, I, I =item OO INTERFACE $ctx = Digest->XXX($arg,...), $ctx = Digest->new(XXX => $arg,...), $ctx = -Digest::XXX->new($arg,...), $ctx->reset, $ctx->add($data,...), -$ctx->addfile($io_handle), $ctx->digest, $ctx->hexdigest, $ctx->b64digest +Digest::XXX->new($arg,...), $other_ctx = $ctx->clone, $ctx->reset, +$ctx->add( $data, ... ), $ctx->addfile( $io_handle ), $ctx->add_bits( +$data, $nbits ), $ctx->add_bits( $bitstring ), $ctx->digest, +$ctx->hexdigest, $ctx->b64digest + +=item Digest speed =item SEE ALSO @@ -11145,8 +13241,9 @@ md5($data,...), md5_hex($data,...), md5_base64($data,...) =item METHODS -$md5 = Digest::MD5->new, $md5->reset, $md5->add($data,...), -$md5->addfile($io_handle), $md5->digest, $md5->hexdigest, $md5->b64digest +$md5 = Digest::MD5->new, $md5->reset, $md5->clone, $md5->add($data,...), +$md5->addfile($io_handle), $md5->add_bits($data, $nbits), +$md5->add_bits($bitstring), $md5->digest, $md5->hexdigest, $md5->b64digest =item EXAMPLES @@ -11158,6 +13255,34 @@ $md5->addfile($io_handle), $md5->digest, $md5->hexdigest, $md5->b64digest =back +=head2 Digest::base - Digest base class + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=back + +=head2 Digest::file - Calculate digests of files + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +digest_file( $file, $algorithm, [$arg,...] ), digest_file_hex( $file, +$algorithm, [$arg,...] ), digest_file_base64( $file, $algorithm, [$arg,...] +) + +=item SEE ALSO + +=back + =head2 DirHandle - supply object methods for directory handles =over 4 @@ -11205,10 +13330,10 @@ compactDump, veryCompact, set, get =item DESCRIPTION @dl_library_path, @dl_resolve_using, @dl_require_symbols, @dl_librefs, -@dl_modules, dl_error(), $dl_debug, dl_findfile(), dl_expandspec(), -dl_load_file(), dl_unload_file(), dl_loadflags(), dl_find_symbol(), -dl_find_symbol_anywhere(), dl_undef_symbols(), dl_install_xsub(), -bootstrap() +@dl_modules, @dl_shared_objects, dl_error(), $dl_debug, dl_findfile(), +dl_expandspec(), dl_load_file(), dl_unload_file(), dl_load_flags(), +dl_find_symbol(), dl_find_symbol_anywhere(), dl_undef_symbols(), +dl_install_xsub(), bootstrap() =item AUTHOR @@ -11223,6 +13348,24 @@ Perl code =item DESCRIPTION +=over 4 + +=item Migration from C + +=item Backward compatible boilerplate + +=back + +=item Order of initialization: early load() + +=over 4 + +=item The most hairy case + +=back + +=item LIMITATIONS + =item AUTHOR =back @@ -11266,11 +13409,11 @@ CHECK]); =item Handling Malformed Data -I = Encode::FB_DEFAULT ( == 0), I = Encode::FB_CROAK ( == 1), -I = Encode::FB_QUIET, I = Encode::FB_WARN, perlqq mode -(I = Encode::FB_PERLQQ), HTML charref mode (I = -Encode::FB_HTMLCREF), XML charref mode (I = Encode::FB_XMLCREF), The -bitmask +B Not all encoding support this feature, I = +Encode::FB_DEFAULT ( == 0), I = Encode::FB_CROAK ( == 1), I = +Encode::FB_QUIET, I = Encode::FB_WARN, perlqq mode (I = +Encode::FB_PERLQQ), HTML charref mode (I = Encode::FB_HTMLCREF), XML +charref mode (I = Encode::FB_XMLCREF), The bitmask =over 4 @@ -11292,6 +13435,8 @@ is_utf8(STRING [, CHECK]), _utf8_on(STRING), _utf8_off(STRING) =back +=item UTF-8 vs. utf8 + =item SEE ALSO =item MAINTAINER @@ -11333,7 +13478,7 @@ reference, e.g.: =back -=head2 Encode::CJKConstants -- Internally used by Encode::??::ISO_2022_* +=head2 Encode::CJKConstants -- Internally used by Encode::??::ISO_2022_* =head2 Encode::CN - China-based Chinese Encodings @@ -11381,11 +13526,13 @@ reference, e.g.: =item Methods you should implement --Eencode($string [,$check]), -Edecode($octets [,$check]) +-Eencode($string [,$check]), -Edecode($octets [,$check]), +-Ecat_decode($destination, $octets, $offset, $terminator [,$check]) =item Other methods defined in Encode::Encodings --Ename, -Enew_sequence, -Eperlio_ok(), -Eneeds_lines() +-Ename, -Erenew, -Erenewed, -Eperlio_ok(), +-Eneeds_lines() =item Example: Encode::ROT13 @@ -11489,12 +13636,10 @@ guess_encoding($data, [, I]) =item How does it work? -=item BUGS +=item Line Buffering =over 4 -=item Workaround - =item How can I tell whether my encoding fully supports PerlIO ? =back @@ -11641,6 +13786,22 @@ BOM as integer when fetched in network byte order =item Surrogate Pairs +=item Error Checking + +=item SEE ALSO + +=back + +=head2 Encode::Unicode::UTF7 -- UTF-7 encoding + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +=item In Practice + =item SEE ALSO =back @@ -11667,7 +13828,7 @@ reference, e.g.: =back -=head2 Encode::lib::Encode::CJKConstants, Encode::CJKConstants.pm -- +=head2 Encode::lib::Encode::CJKConstants, Encode::CJKConstants.pm -- Internally used by Encode::??::ISO_2022_* =head2 Encode::lib::Encode::CN::HZ, Encode::CN::HZ -- internally used by @@ -11689,11 +13850,13 @@ Implementation Base Class =item Methods you should implement --Eencode($string [,$check]), -Edecode($octets [,$check]) +-Eencode($string [,$check]), -Edecode($octets [,$check]), +-Ecat_decode($destination, $octets, $offset, $terminator [,$check]) =item Other methods defined in Encode::Encodings --Ename, -Enew_sequence, -Eperlio_ok(), -Eneeds_lines() +-Ename, -Erenew, -Erenewed, -Eperlio_ok(), +-Eneeds_lines() =item Example: Encode::ROT13 @@ -11771,12 +13934,10 @@ on Encode and PerlIO =item How does it work? -=item BUGS +=item Line Buffering =over 4 -=item Workaround - =item How can I tell whether my encoding fully supports PerlIO ? =back @@ -11870,26 +14031,26 @@ C by Ken Lunde =back -=head2 Encode::lib::Encoder, Encode::Encoder -- Object Oriented Encoder +=head2 Encode::lib::Encode::Unicode::UTF7, Encode::Unicode::UTF7 -- UTF-7 +encoding =over 4 =item SYNOPSIS - use Encode::Encoder; - # Encode::encode("ISO-8859-1", $data); - Encode::Encoder->new($data)->iso_8859_1; # OOP way - # shortcut - use Encode::Encoder qw(encoder); - encoder($data)->iso_8859_1; - # you can stack them! - encoder($data)->iso_8859_1->base64; # provided base64() is defined - # you can use it as a decoder as well - encoder($base64)->bytes('base64')->latin1; - # stringified - print encoder($data)->utf8->latin1; # prints the string in latin1 - # numified - encoder("\x{abcd}\x{ef}g")->utf8 == 6; # true. bytes::length($data) +=item ABSTRACT + +=item In Practice + +=item SEE ALSO + +=back + +=head2 Encode::lib::Encoder, Encode::Encoder -- Object Oriented Encoder + +=over 4 + +=item SYNOPSIS =item ABSTRACT @@ -11922,10 +14083,32 @@ non-ascii or non-utf8 =item ABSTRACT +=over 4 + +=item Literal Conversions + +=item PerlIO layers for C + +=item Implicit upgrading for byte strings + +=back + +=item FEATURES THAT REQUIRE 5.8.1 + +"NON-EUC" doublebyte encodings, tr//, DATA pseudo-filehandle + =item USAGE use encoding [I] ;, use encoding I [ STDIN =E -I ...] ;, no encoding; +I ...] ;, use encoding I Filter=E1;, no encoding; + +=item The Filter Option + +=over 4 + +=item Filter-related changes at Encode version 1.87 + +=back =item CAVEATS @@ -11935,15 +14118,25 @@ I ...] ;, no encoding; =item DO NOT MIX MULTIPLE ENCODINGS -=back +=item tr/// with ranges -=item Non-ASCII Identifiers and Filter option +Legend of characters above -use encoding I Filter=E1; +=back =item EXAMPLE - Greekperl -=item KNOWN PROBLEMS +=item KNOWN PROBLEMS + +literals in regex that are longer than 127 bytes, EBCDIC, format + +=over 4 + +=item The Logic of :locale + +=back + +=item HISTORY =item SEE ALSO @@ -11955,21 +14148,6 @@ use encoding I Filter=E1; =item SYNOPSIS - use Encode::Encoder; - # Encode::encode("ISO-8859-1", $data); - Encode::Encoder->new($data)->iso_8859_1; # OOP way - # shortcut - use Encode::Encoder qw(encoder); - encoder($data)->iso_8859_1; - # you can stack them! - encoder($data)->iso_8859_1->base64; # provided base64() is defined - # you can use it as a decoder as well - encoder($base64)->bytes('base64')->latin1; - # stringified - print encoder($data)->utf8->latin1; # prints the string in latin1 - # numified - encoder("\x{abcd}\x{ef}g")->utf8 == 6; # true. bytes::length($data) - =item ABSTRACT =item Description @@ -12064,6 +14242,8 @@ C, C, C =item Exporting without using Exporter's import method +=item Exporting without inheriting from Exporter + =item Module Version Checking =item Managing Unknown Symbols @@ -12088,6 +14268,46 @@ C, C, C =back +=head2 ExtUtils::CBuilder - Compile and link C code for Perl modules + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item METHODS + +new, have_compiler, compile, C, C, +C, link, lib_file, module_name, extra_linker_flags, +link_executable, exe_file, object_file, lib_file, exe_file, prelink, +need_prelink + +=item TO DO + +=item HISTORY + +=item AUTHOR + +=item COPYRIGHT + +=item SEE ALSO + +=back + +=head2 ExtUtils::CBuilder::Platform::Windows - Builder class for Windows +platforms + +=over 4 + +=item DESCRIPTION + +=item AUTHOR + +=item SEE ALSO + +=back + =head2 ExtUtils::Command - utilities to replace common UNIX commands in Makefiles etc. @@ -12101,27 +14321,27 @@ Makefiles etc. cat -eqtime src dst +eqtime -rm_rf files... +rm_rf -rm_f files... +rm_f -touch files .. +touch -mv source... destination +mv -cp source... destination +cp -chmod mode files.. +chmod -mkpath directory.. +mkpath -test_f file +test_f -=over 4 +dos2unix -=item BUGS +=over 4 =item SEE ALSO @@ -12141,6 +14361,14 @@ B =back +B + +B + +B + +B + =head2 ExtUtils::Constant - generate XS code to import C header constants =over 4 @@ -12157,40 +14385,95 @@ IV, UV, NV, PV, PVN, SV, YES, NO, UNDEF =back -C_stringify NAME +constant_types -perl_stringify NAME +XS_constant PACKAGE, TYPES, SUBNAME, C_SUBNAME -constant_types +autoload PACKAGE, VERSION, AUTOLOADER + +WriteMakefileSnippet + +WriteConstants ATTRIBUTE =E VALUE [, ...], NAME, DEFAULT_TYPE, +BREAKOUT_AT, NAMES, C_FILE, XS_FILE, SUBNAME, C_SUBNAME + +=over 4 + +=item AUTHOR + +=back + +=head2 ExtUtils::Constant::Base - base class for ExtUtils::Constant objects + +=over 4 -memEQ_clause NAME, CHECKED_AT, INDENT +=item SYNOPSIS + +=item DESCRIPTION + +=item USAGE + +=back + +header -assign INDENT, TYPE, PRE, POST, VALUE.. +memEQ_clause args_hashref -return_clause +dump_names arg_hashref, ITEM.. -switch_clause INDENT, NAMELEN, ITEMHASH, ITEM.. +assign arg_hashref, VALUE.. + +return_clause arg_hashref, ITEM + +switch_clause arg_hashref, NAMELEN, ITEMHASH, ITEM.. params WHAT -dump_names +dogfood arg_hashref, ITEM.. -dogfood +C_constant arg_hashref, ITEM.., name, type, value, macro, default, pre, +post, def_pre, def_post, utf8, weight -C_constant, name, type, value, macro, default, pre, post, def_pre =item -def_post, utf8 +=over 4 -XS_constant PACKAGE, TYPES, SUBNAME, C_SUBNAME +=item BUGS -autoload PACKAGE, VERSION, AUTOLOADER +=item AUTHOR -WriteMakefileSnippet +=back -WriteConstants ATTRIBUTE =E VALUE [, ...], NAME, DEFAULT_TYPE, -BREAKOUT_AT, NAMES, C_FILE, XS_FILE, SUBNAME, C_SUBNAME +=head2 ExtUtils::Constant::Utils - helper functions for ExtUtils::Constant + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item USAGE + +C_stringify NAME + +=back + +perl_stringify NAME + +=over 4 + +=item AUTHOR + +=back + +=head2 ExtUtils::Constant::XS, ExtUtils::Constant::Base - base class for +ExtUtils::Constant objects =over 4 +=item SYNOPSIS + +=item DESCRIPTION + +=item BUGS + =item AUTHOR =back @@ -12226,6 +14509,34 @@ ccopts(), xsi_header(), xsi_protos(@modules), xsi_body(@modules) =item DESCRIPTION +=over 4 + +=item Functions + +B + +=back + +=back + +B I + +B + +B + +_autosplit + +=over 4 + +=item ENVIRONMENT + +B + +=item AUTHOR + +=item LICENSE + =back =head2 ExtUtils::Installed - Inventory management of installed modules @@ -12294,7 +14605,7 @@ dynamic extensions at load time =back -=head2 ExtUtils::MM_Any - Platform agnostic MM methods +=head2 ExtUtils::MM_AIX - AIX specific subclass of ExtUtils::MM_Unix =over 4 @@ -12302,41 +14613,69 @@ dynamic extensions at load time =item DESCRIPTION -=item Inherently Cross-Platform Methods +=over 4 + +=item Overridden methods + +=back + +=back =over 4 -=item File::Spec wrappers B +=item AUTHOR -canonpath +=item SEE ALSO =back +=head2 ExtUtils::MM_Any - Platform-agnostic MM methods + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item METHODS + +=over 4 + +=item Cross-platform helper methods + =back -catdir +=back -catfile +=over 4 -curdir +=item Targets -file_name_is_absolute +=back -path +=over 4 -rootdir +=item Init methods -updir +=back =over 4 -=item Thought To Be Cross-Platform Methods +=item Tools + +=back + +=over 4 -test_via_harness +=item File::Spec wrappers =back -test_via_script +=over 4 + +=item Misc + +=back =over 4 @@ -12355,7 +14694,9 @@ ExtUtils::MakeMaker =back -perl_archive +os_flavor + +init_linker =head2 ExtUtils::MM_Cygwin - methods to override UN*X behaviour in ExtUtils::MakeMaker @@ -12366,10 +14707,16 @@ ExtUtils::MakeMaker =item DESCRIPTION -canonpath, cflags, manifypods, perl_archive +os_flavor =back +cflags + +replace_manpage_separator + +init_linker + =head2 ExtUtils::MM_DOS - DOS specific subclass of ExtUtils::MM_Unix =over 4 @@ -12382,12 +14729,14 @@ canonpath, cflags, manifypods, perl_archive =item Overridden methods -B +os_flavor =back =back +B + =over 4 =item AUTHOR @@ -12396,8 +14745,7 @@ B =back -=head2 ExtUtils::MM_MacOS - methods to override UN*X behaviour in -ExtUtils::MakeMaker +=head2 ExtUtils::MM_MacOS - once produced Makefiles for MacOS Classic =over 4 @@ -12407,39 +14755,28 @@ ExtUtils::MakeMaker =back -maybe_command - -guess_name - -macify - -patternify - -init_main - -init_others - -init_dirscan +=head2 ExtUtils::MM_NW5 - methods to override UN*X behaviour in +ExtUtils::MakeMaker -libscan (o) +=over 4 -constants (o) +=item SYNOPSIS -static (o) +=item DESCRIPTION -dlsyms (o) +=back -dynamic (o) +os_flavor -clean (o) +init_platform, platform_constants -realclean (o) +const_cccmd -rulez (o) +static_lib -processPL (o) +dynamic_lib -=head2 ExtUtils::MM_NW5 - methods to override UN*X behaviour in +=head2 ExtUtils::MM_OS2 - methods to override UN*X behaviour in ExtUtils::MakeMaker =over 4 @@ -12448,16 +14785,17 @@ ExtUtils::MakeMaker =item DESCRIPTION -=back +=item METHODS -constants (o) +init_dist -static_lib (o) +=back -dynamic_lib (o) +init_linker -=head2 ExtUtils::MM_OS2 - methods to override UN*X behaviour in -ExtUtils::MakeMaker +os_flavor + +=head2 ExtUtils::MM_QNX - QNX specific subclass of ExtUtils::MM_Unix =over 4 @@ -12465,11 +14803,21 @@ ExtUtils::MakeMaker =item DESCRIPTION -=item METHODS +=over 4 + +=item Overridden methods =back -perl_archive_after +=back + +=over 4 + +=item AUTHOR + +=item SEE ALSO + +=back =head2 ExtUtils::MM_UWIN - U/WIN specific subclass of ExtUtils::MM_Unix @@ -12483,12 +14831,14 @@ perl_archive_after =item Overridden methods -B +os_flavor =back =back +B + =over 4 =item AUTHOR @@ -12511,15 +14861,15 @@ B =over 4 -=item SelfLoaded methods +=item Methods -c_o (o) +os_flavor =back -cflags (o) +c_o (o) -clean (o) +cflags (o) const_cccmd (o) @@ -12531,7 +14881,9 @@ constants (o) depend (o) -dir_target (o) +init_DEST + +init_dist dist (o) @@ -12541,13 +14893,21 @@ dist_ci (o) dist_core (o) -dist_dir +B -dist_test +B -dlsyms (o) +B + +B -dynamic (o) +zipfile_target + +uutardist_target + +shdist_target + +dlsyms (o) dynamic_bs (o) @@ -12559,16 +14919,8 @@ extliblist find_perl -find_tests - -=over 4 - -=item Methods to actually produce chunks of text for the Makefile - fixin -=back - force (o) guess_name @@ -12577,26 +14929,28 @@ has_link_code init_dirscan +init_DIRFILESEP + init_main init_others -init_INST - -init_INSTALL +init_linker init_lib2arch init_PERL +init_platform, platform_constants + init_PERM +init_xs + install (o) installbin (o) -libscan (o) - linkext (o) lsdir @@ -12607,12 +14961,8 @@ makeaperl (o) makefile (o) -manifypods (o) - maybe_command -maybe_command_in_dirs - needs_linking (o) nicetext @@ -12647,10 +14997,18 @@ processPL (o) quote_paren -realclean (o) - replace_manpage_separator +cd + +oneliner + +quote_literal + +escape_newlines + +max_exec_len + static (o) static_lib (o) @@ -12667,12 +15025,12 @@ test_via_harness (override) test_via_script (override) -tool_autosplit (o) - tools_other (o) tool_xsubpp (o) +all_target + top_targets (o) writedoc @@ -12683,12 +15041,6 @@ xs_cpp (o) xs_o (o) -perl_archive - -perl_archive_after - -export_list - =over 4 =item SEE ALSO @@ -12726,33 +15078,39 @@ find_perl (override) maybe_command (override) -maybe_command_in_dirs (override) +pasthru (override) + +pm_to_blib (override) perl_script (override) replace_manpage_separator +init_DEST + +init_DIRFILESEP + init_main (override) init_others (override) -constants (override) +init_platform (override) -cflags (override) +platform_constants -const_cccmd (override) +init_VERSION (override) -pm_to_blib (override) +constants (override) -tool_autosplit (override) +special_targets -tool_sxubpp (override) +cflags (override) -xsubpp_version (override) +const_cccmd (override) tools_other (override) -dist (override) +init_dist (override) c_o (override) @@ -12760,47 +15118,75 @@ xs_c (override) xs_o (override) -top_targets (override) - dlsyms (override) dynamic_lib (override) -dynamic_bs (override) - static_lib (override) -manifypods (override) +extra_clean_files -processPL (override) +zipfile_target, tarfile_target, shdist_target -installbin (override) +install (override) -subdir_x (override) +perldepend (override) -clean (override) +makeaperl (override) -realclean (override) +nicetext (override) -dist_core (override) +prefixify (override) -dist_test (override) +cd -install (override) +oneliner -perldepend (override) +B -makefile (override) +quote_literal -find_tests (override) +escape_newlines -test (override) +max_exec_len -makeaperl (override) +init_linker -nicetext (override) +eliminate_macros -prefixify (override) +fixpath + +os_flavor + +=over 4 + +=item AUTHOR + +=back + +=head2 ExtUtils::MM_VOS - VOS specific subclass of ExtUtils::MM_Unix + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item Overridden methods + +=back + +=back + +=over 4 + +=item AUTHOR + +=item SEE ALSO + +=back =head2 ExtUtils::MM_Win32 - methods to override UN*X behaviour in ExtUtils::MakeMaker @@ -12813,33 +15199,47 @@ ExtUtils::MakeMaker =back -constants (o) +=over 4 -static_lib (o) +=item Overridden methods -dynamic_bs (o) +B -dynamic_lib (o) +=back -perl_script +replace_manpage_separator -pm_to_blib +B -tool_autosplit (override) +B -tools_other (o) +B -xs_o (o) +init_platform, platform_constants -top_targets (o) +special_targets -manifypods (o) +static_lib -dist_ci (o) +dynamic_lib -dist_core (o) +extra_clean_files -pasthru (o) +init_linker + +perl_script + +xs_o + +pasthru + +oneliner + +cd + +max_exec_len + +os_flavor =head2 ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X @@ -12849,6 +15249,28 @@ pasthru (o) =item DESCRIPTION +=over 4 + +=item Overridden methods + +xs_c + +=back + +=back + +xs_cpp + +xs_o + +max_exec_len + +os_flavor + +=over 4 + +=item AUTHOR + =back =head2 ExtUtils::MY - ExtUtils::MakeMaker subclass for customization @@ -12861,7 +15283,7 @@ pasthru (o) =back -=head2 ExtUtils::MakeMaker - create an extension Makefile +=head2 ExtUtils::MakeMaker - Create a module Makefile =over 4 @@ -12894,30 +15316,35 @@ pasthru (o) =item Using Attributes and Parameters ABSTRACT, ABSTRACT_FROM, AUTHOR, BINARY_LOCATION, C, CCFLAGS, CONFIG, -CONFIGURE, DEFINE, DIR, DISTNAME, DL_FUNCS, DL_VARS, EXCLUDE_EXT, -EXE_FILES, FIRST_MAKEFILE, FULLPERL, FULLPERLRUN, FULLPERLRUNINST, -FUNCLIST, H, IMPORTS, INC, INCLUDE_EXT, INSTALLARCHLIB, INSTALLBIN, -INSTALLDIRS, INSTALLMAN1DIR, INSTALLMAN3DIR, INSTALLPRIVLIB, INSTALLSCRIPT, -INSTALLSITEARCH, INSTALLSITEBIN, INSTALLSITELIB, INSTALLSITEMAN1DIR, -INSTALLSITEMAN3DIR, INSTALLVENDORARCH, INSTALLVENDORBIN, INSTALLVENDORLIB, -INSTALLVENDORMAN1DIR, INSTALLVENDORMAN3DIR, INST_ARCHLIB, INST_BIN, -INST_LIB, INST_MAN1DIR, INST_MAN3DIR, INST_SCRIPT, LDFROM, LIB, LIBPERL_A, -LIBS, LINKTYPE, MAKEAPERL, MAKEFILE, MAN1PODS, MAN3PODS, MAP_TARGET, -MYEXTLIB, NAME, NEEDS_LINKING, NOECHO, NORECURS, NO_VC, OBJECT, OPTIMIZE, -PERL, PERL_CORE, PERLMAINCC, PERL_ARCHLIB, PERL_LIB, PERL_MALLOC_OK, -PERLRUN, PERLRUNINST, PERL_SRC, PERM_RW, PERM_RWX, PL_FILES, PM, PMLIBDIRS, -PM_FILTER, POLLUTE, PPM_INSTALL_EXEC, PPM_INSTALL_SCRIPT, PREFIX, -PREREQ_PM, PREREQ_FATAL, PREREQ_PRINT, PRINT_PREREQ, SITEPREFIX, SKIP, -TYPEMAPS, VENDORPREFIX, VERBINST, VERSION, VERSION_FROM, XS, XSOPT, -XSPROTOARG, XS_VERSION +CONFIGURE, DEFINE, DESTDIR, DIR, DISTNAME, DISTVNAME, DL_FUNCS, DL_VARS, +EXCLUDE_EXT, EXE_FILES, FIRST_MAKEFILE, FULLPERL, FULLPERLRUN, +FULLPERLRUNINST, FUNCLIST, H, IMPORTS, INC, INCLUDE_EXT, INSTALLARCHLIB, +INSTALLBIN, INSTALLDIRS, INSTALLMAN1DIR, INSTALLMAN3DIR, INSTALLPRIVLIB, +INSTALLSCRIPT, INSTALLSITEARCH, INSTALLSITEBIN, INSTALLSITELIB, +INSTALLSITEMAN1DIR, INSTALLSITEMAN3DIR, INSTALLVENDORARCH, +INSTALLVENDORBIN, INSTALLVENDORLIB, INSTALLVENDORMAN1DIR, +INSTALLVENDORMAN3DIR, INST_ARCHLIB, INST_BIN, INST_LIB, INST_MAN1DIR, +INST_MAN3DIR, INST_SCRIPT, LD, LDDLFLAGS, LDFROM, LIB, LIBPERL_A, LIBS, +LINKTYPE, MAKEAPERL, MAKEFILE_OLD, MAN1PODS, MAN3PODS, MAP_TARGET, +MYEXTLIB, NAME, NEEDS_LINKING, NOECHO, NORECURS, NO_META, NO_VC, OBJECT, +OPTIMIZE, PERL, PERL_CORE, PERLMAINCC, PERL_ARCHLIB, PERL_LIB, +PERL_MALLOC_OK, PERLPREFIX, PERLRUN, PERLRUNINST, PERL_SRC, PERM_RW, +PERM_RWX, PL_FILES, PM, PMLIBDIRS, PM_FILTER, POLLUTE, PPM_INSTALL_EXEC, +PPM_INSTALL_SCRIPT, PREFIX, PREREQ_FATAL, PREREQ_PM, PREREQ_PRINT, +PRINT_PREREQ, SITEPREFIX, SIGN, SKIP, TYPEMAPS, VENDORPREFIX, VERBINST, +VERSION, VERSION_FROM, VERSION_SYM, XS, XSOPT, XSPROTOARG, XS_VERSION =item Additional lowercase attributes -clean, depend, dist, dynamic_lib, linkext, macro, realclean, test, -tool_autosplit +clean, depend, dist, dynamic_lib, linkext, macro, postamble, realclean, +test, tool_autosplit =item Overriding MakeMaker Methods +=item The End Of Cargo Cult Programming + +C<< MAN3PODS => ' ' >> + =item Hintsfile support =item Distribution Support @@ -12926,18 +15353,120 @@ tool_autosplit make distdir, make disttest, make tardist, make dist, make uutardist, make shdist, make zipdist, make ci +=item Module Meta-Data + =item Disabling an extension +=item Other Handy Functions + +prompt + =back =item ENVIRONMENT -PERL_MM_OPT, PERL_MM_USE_DEFAULT +PERL_MM_OPT, PERL_MM_USE_DEFAULT, PERL_CORE =item SEE ALSO =item AUTHORS +=item LICENSE + +=back + +=head2 ExtUtils::MakeMaker::Config - Wrapper around Config.pm + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=back + +=head2 ExtUtils::MakeMaker::FAQ - Frequently Asked Questions About +MakeMaker + +=over 4 + +=item DESCRIPTION + +=over 4 + +=item Module Installation + +How do I keep from installing man pages?, How do I use a module without +installing it? + +=item Philosophy and History + +Why not just use ?, What is +Module::Build and how does it relate to MakeMaker?, pure perl. no make, no +shell commands, easier to customize, cleaner internals, less cruft + +=item Module Writing + +How do I keep my $VERSION up to date without resetting it manually?, What's +this F thing and how did it get in my F?! + +=item XS + +How to I prevent "object version X.XX does not match bootstrap parameter +Y.YY" errors?, How do I make two or more XS files coexist in the same +directory? + +=back + +=item PATCHING + +=item AUTHOR + +=item SEE ALSO + +=back + +=head2 ExtUtils::MakeMaker::Tutorial - Writing a module with MakeMaker + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item The Mantra + +=item The Layout + +Makefile.PL, MANIFEST, lib/, t/, Changes, README, INSTALL, MANIFEST.SKIP, +bin/ + +=back + +=item SEE ALSO + +=back + +=head2 ExtUtils::MakeMaker::bytes - Version-agnostic bytes.pm + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=back + +=head2 ExtUtils::MakeMaker::vmsish - Platform-agnostic vmsish.pm + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + =back =head2 ExtUtils::Manifest - utilities to write and check a MANIFEST file @@ -12948,12 +15477,46 @@ PERL_MM_OPT, PERL_MM_USE_DEFAULT =item DESCRIPTION +=over 4 + +=item Functions + +mkmanifest + +=back + +=back + +manifind + +manicheck + +filecheck + +fullcheck + +skipcheck + +maniread + +manicopy + +maniadd + +=over 4 + +=item MANIFEST + =item MANIFEST.SKIP =item EXPORT_OK =item GLOBAL VARIABLES +=back + +=over 4 + =item DIAGNOSTICS C I, C I, C I, @@ -13028,6 +15591,28 @@ new(), read(), write(), validate(), packlist_file() =back +=head2 ExtUtils::ParseXS - converts Perl XS code into C code + +=over 4 + +=item SYNOPSIS + +=item EXPORT + +=item FUNCTIONS + +process_xs(), B, B, B, B, B, +B, B, B, B, B, B, +errors() + +=item AUTHOR + +=item COPYRIGHT + +=item SEE ALSO + +=back + =head2 ExtUtils::testlib - add blib/* directories to @INC =over 4 @@ -13188,6 +15773,8 @@ $dont_use_nlink, symlinks =item NOTES +=item BUGS AND CAVEATS + =item HISTORY =back @@ -13200,16 +15787,26 @@ $dont_use_nlink, symlinks =item DESCRIPTION +=over 4 + +=item META CHARACTERS + +=item POSIX FLAGS + C, C, C, C, C, C, C, C, C, C, C, C +=back + =item DIAGNOSTICS C, C =item NOTES +=item SEE ALSO + =item AUTHOR =back @@ -13222,6 +15819,8 @@ C, C =item DESCRIPTION +=item DIAGNOSTICS + =item AUTHORS =back @@ -13242,7 +15841,9 @@ splitdir, catpath(), abs2rel, rel2abs() =item SEE ALSO -=item AUTHORS +=item AUTHOR + +=item COPYRIGHT =back @@ -13250,9 +15851,21 @@ splitdir, catpath(), abs2rel, rel2abs() =over 4 -=item SYNOPSIS - -=item DESCRIPTION +=item SYNOPSIS + +=item DESCRIPTION + +=back + +canonpath + +file_name_is_absolute + +tmpdir (override) + +=over 4 + +=item COPYRIGHT =back @@ -13264,12 +15877,16 @@ splitdir, catpath(), abs2rel, rel2abs() =item DESCRIPTION -canonpath() - =back +canonpath() + =over 4 +=item AUTHOR + +=item COPYRIGHT + =item SEE ALSO =back @@ -13288,6 +15905,8 @@ canonpath() =back +=item COPYRIGHT + =item SEE ALSO =back @@ -13338,48 +15957,12 @@ rel2abs =item AUTHORS -=item SEE ALSO - -=back - -=head2 File::Spec::NW5 - methods for NW5 file specs - -=over 4 - -=item SYNOPSIS - -=item DESCRIPTION - -devnull - -=back - -tmpdir - -catfile - -canonpath - -splitpath - -splitdir - -catpath - -=over 4 +=item COPYRIGHT =item SEE ALSO =back -canonpath - -splitpath - -splitdir - -catpath - =head2 File::Spec::OS2 - methods for OS/2 file specs =over 4 @@ -13388,6 +15971,10 @@ catpath =item DESCRIPTION +tmpdir, splitpath + +=item COPYRIGHT + =back =head2 File::Spec::Unix - File::Spec for Unix, base for other File::Spec @@ -13441,6 +16028,8 @@ rel2abs() =over 4 +=item COPYRIGHT + =item SEE ALSO =back @@ -13499,6 +16088,8 @@ rel2abs (override) =over 4 +=item COPYRIGHT + =item SEE ALSO =back @@ -13529,6 +16120,14 @@ catpath =over 4 +=item Note For File::Spec::Win32 Maintainers + +=back + +=over 4 + +=item COPYRIGHT + =item SEE ALSO =back @@ -13547,6 +16146,20 @@ catpath =over 4 +=item OBJECT-ORIENTED INTERFACE + +B + +=back + +B + +B + +B + +=over 4 + =item FUNCTIONS B @@ -13595,6 +16208,12 @@ B =back +B + +B + +B + =over 4 =item PACKAGE VARIABLES @@ -13605,6 +16224,8 @@ B, STANDARD, MEDIUM, HIGH TopSystemUID +B<$KEEP_ALL>, B<$DEBUG> + =over 4 =item WARNING @@ -13613,6 +16234,10 @@ TopSystemUID =item Temporary files and NFS +=item Forking + +=item BINMODE + =back =item HISTORY @@ -13631,6 +16256,8 @@ TopSystemUID =item DESCRIPTION +=item BUGS + =item NOTE =item AUTHOR @@ -13687,16 +16314,16 @@ $fh->print, $fh->printf, $fh->getline, $fh->getlines =item Filtering only specific components of source code -C<"code">, C<"executable">, C<"quotelike">, C<"string">, C<"regex">, +C<"code">, C<"code_no_comments">, C<"executable">, +C<"executable_no_comments">, C<"quotelike">, C<"string">, C<"regex">, C<"all"> =item Filtering only the code parts of source code Most source code ceases to be grammatically correct when it is broken up into the pieces between string literals and regexes. So the C<'code'> -component filter behaves slightly differently from the other partial -filters -described in the previous section. +and C<'code_no_comments'> component filter behave slightly differently +from the other partial filters described in the previous section. =item Using Filter::Simple with an explicit C subroutine @@ -13835,6 +16462,8 @@ B<$_>, B<$status>, B and B, B =item Object oriented interface +=item Thread Safety + =item Documentation and help texts =item Storing options in a hash @@ -13852,9 +16481,14 @@ B<$_>, B<$status>, B and B, B default, posix_default, auto_abbrev, getopt_compat, gnu_compat, gnu_getopt, require_order, permute, bundling (default: disabled), bundling_override (default: disabled), ignore_case (default: enabled), ignore_case_always -(default: disabled), pass_through (default: disabled), prefix, +(default: disabled), auto_version (default:disabled), auto_help +(default:disabled), pass_through (default: disabled), prefix, prefix_pattern, debug (default: disabled) +=item Exportable Methods + +VersionMessage, C<-message>, C<-msg>, C<-exitval>, C<-output>, HelpMessage + =item Return values and Errors =item Legacy @@ -13873,13 +16507,13 @@ prefix_pattern, debug (default: disabled) =over 4 -=item Warning: Ignoring '!' modifier for short option - =item GetOptions does not return a false result when an option is not supplied =item GetOptions does not split the command line correctly +=item Undefined subroutine &main::GetOptions called + =item How do I put a "-?" option into a Getopt::Long? =back @@ -13890,8 +16524,8 @@ supplied =back -=head2 Getopt::Std, getopt - Process single-character switches with switch -clustering +=head2 Getopt::Std, getopt, getopts - Process single-character switches +with switch clustering =over 4 @@ -13899,6 +16533,8 @@ clustering =item DESCRIPTION +=item C<--help> and C<--version> + =back =head2 Hash::Util - A selection of general-utility hash subroutines @@ -13923,8 +16559,12 @@ lock_value, unlock_value B, B +B + =over 4 +=item CAVEATS + =item AUTHOR =item SEE ALSO @@ -13973,6 +16613,9 @@ the function alternate_language_tags($lang1) the function @langs = panic_languages(@accept_languages) +the function implicate_supers( ...languages... ), the function +implicate_supers_strictly( ...languages... ) + =over 4 =item ABOUT LOWERCASING @@ -13987,6 +16630,26 @@ the function @langs = panic_languages(@accept_languages) =back +=head2 I18N::LangTags::Detect - detect the user's language preferences + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item FUNCTIONS + +=item ENVIRONMENT + +=item SEE ALSO + +=item COPYRIGHT + +=item AUTHOR + +=back + =head2 I18N::LangTags::List -- tags and names for human languages =over 4 @@ -13999,88 +16662,93 @@ the function @langs = panic_languages(@accept_languages) =item LIST OF LANGUAGES -{ab} : Abkhazian, {ace} : Achinese, {ach} : Acoli, {ada} : Adangme, {aa} : -Afar, {afh} : Afrihili, {af} : Afrikaans, [{afa} : Afro-Asiatic (Other)], -{aka} : Akan, {akk} : Akkadian, {sq} : Albanian, {ale} : Aleut, [{alg} : -Algonquian languages], [{tut} : Altaic (Other)], {am} : Amharic, {i-ami} : -Ami, [{apa} : Apache languages], {ar} : Arabic, {arc} : Aramaic, {arp} : -Arapaho, {arn} : Araucanian, {arw} : Arawak, {hy} : Armenian, [{art} : -Artificial (Other)], {as} : Assamese, [{ath} : Athapascan languages], -[{aus} : Australian languages], [{map} : Austronesian (Other)], {ava} : -Avaric, {ae} : Avestan, {awa} : Awadhi, {ay} : Aymara, {az} : Azerbaijani, -{ban} : Balinese, [{bat} : Baltic (Other)], {bal} : Baluchi, {bam} : -Bambara, [{bai} : Bamileke languages], {bad} : Banda, [{bnt} : Bantu -(Other)], {bas} : Basa, {ba} : Bashkir, {eu} : Basque, {btk} : Batak -(Indonesia), {bej} : Beja, {be} : Belarusian, {bem} : Bemba, {bn} : -Bengali, [{ber} : Berber (Other)], {bho} : Bhojpuri, {bh} : Bihari, {bik} : -Bikol, {bin} : Bini, {bi} : Bislama, {bs} : Bosnian, {bra} : Braj, {br} : -Breton, {bug} : Buginese, {bg} : Bulgarian, {i-bnn} : Bunun, {bua} : -Buriat, {my} : Burmese, {cad} : Caddo, {car} : Carib, {ca} : Catalan, -[{cau} : Caucasian (Other)], {ceb} : Cebuano, [{cel} : Celtic (Other)], -[{cai} : Central American Indian (Other)], {chg} : Chagatai, [{cmc} : -Chamic languages], {ch} : Chamorro, {ce} : Chechen, {chr} : Cherokee, {chy} -: Cheyenne, {chb} : Chibcha, {ny} : Chichewa, {zh} : Chinese, {chn} : -Chinook Jargon, {chp} : Chipewyan, {cho} : Choctaw, {cu} : Church Slavic, -{chk} : Chuukese, {cv} : Chuvash, {cop} : Coptic, {kw} : Cornish, {co} : -Corsican, {cre} : Cree, {mus} : Creek, [{cpe} : English-based Creoles and -pidgins (Other)], [{cpf} : French-based Creoles and pidgins (Other)], -[{cpp} : Portuguese-based Creoles and pidgins (Other)], [{crp} : Creoles -and pidgins (Other)], {hr} : Croatian, [{cus} : Cushitic (Other)], {cs} : -Czech, {dak} : Dakota, {da} : Danish, {day} : Dayak, {i-default} : Default -(Fallthru) Language, {del} : Delaware, {din} : Dinka, {div} : Divehi, {doi} -: Dogri, {dgr} : Dogrib, [{dra} : Dravidian (Other)], {dua} : Duala, {nl} : -Dutch, {dum} : Middle Dutch (ca.1050-1350), {dyu} : Dyula, {dz} : Dzongkha, -{efi} : Efik, {egy} : Ancient Egyptian, {eka} : Ekajuk, {elx} : Elamite, -{en} : English, {enm} : Old English (1100-1500), {ang} : Old English -(ca.450-1100), {eo} : Esperanto, {et} : Estonian, {ewe} : Ewe, {ewo} : -Ewondo, {fan} : Fang, {fat} : Fanti, {fo} : Faroese, {fj} : Fijian, {fi} : -Finnish, [{fiu} : Finno-Ugrian (Other)], {fon} : Fon, {fr} : French, {frm} -: Middle French (ca.1400-1600), {fro} : Old French (842-ca.1400), {fy} : -Frisian, {fur} : Friulian, {ful} : Fulah, {gaa} : Ga, {gd} : Scots Gaelic, -{gl} : Gallegan, {lug} : Ganda, {gay} : Gayo, {gba} : Gbaya, {gez} : Geez, -{ka} : Georgian, {de} : German, {gmh} : Middle High German (ca.1050-1500), -{goh} : Old High German (ca.750-1050), [{gem} : Germanic (Other)], {gil} : -Gilbertese, {gon} : Gondi, {gor} : Gorontalo, {got} : Gothic, {grb} : -Grebo, {grc} : Ancient Greek, {el} : Modern Greek, {gn} : Guarani, {gu} : -Gujarati, {gwi} : Gwich'in, {hai} : Haida, {ha} : Hausa, {haw} : Hawaiian, +{ab} : Abkhazian, {ace} : Achinese, {ach} : Acoli, {ada} : Adangme, {ady} : +Adyghe, {aa} : Afar, {afh} : Afrihili, {af} : Afrikaans, [{afa} : +Afro-Asiatic (Other)], {ak} : Akan, {akk} : Akkadian, {sq} : Albanian, +{ale} : Aleut, [{alg} : Algonquian languages], [{tut} : Altaic (Other)], +{am} : Amharic, {i-ami} : Ami, [{apa} : Apache languages], {ar} : Arabic, +{arc} : Aramaic, {arp} : Arapaho, {arn} : Araucanian, {arw} : Arawak, {hy} +: Armenian, {an} : Aragonese, [{art} : Artificial (Other)], {ast} : +Asturian, {as} : Assamese, [{ath} : Athapascan languages], [{aus} : +Australian languages], [{map} : Austronesian (Other)], {av} : Avaric, {ae} +: Avestan, {awa} : Awadhi, {ay} : Aymara, {az} : Azerbaijani, {ban} : +Balinese, [{bat} : Baltic (Other)], {bal} : Baluchi, {bm} : Bambara, [{bai} +: Bamileke languages], {bad} : Banda, [{bnt} : Bantu (Other)], {bas} : +Basa, {ba} : Bashkir, {eu} : Basque, {btk} : Batak (Indonesia), {bej} : +Beja, {be} : Belarusian, {bem} : Bemba, {bn} : Bengali, [{ber} : Berber +(Other)], {bho} : Bhojpuri, {bh} : Bihari, {bik} : Bikol, {bin} : Bini, +{bi} : Bislama, {bs} : Bosnian, {bra} : Braj, {br} : Breton, {bug} : +Buginese, {bg} : Bulgarian, {i-bnn} : Bunun, {bua} : Buriat, {my} : +Burmese, {cad} : Caddo, {car} : Carib, {ca} : Catalan, [{cau} : Caucasian +(Other)], {ceb} : Cebuano, [{cel} : Celtic (Other)], [{cai} : Central +American Indian (Other)], {chg} : Chagatai, [{cmc} : Chamic languages], +{ch} : Chamorro, {ce} : Chechen, {chr} : Cherokee, {chy} : Cheyenne, {chb} +: Chibcha, {ny} : Chichewa, {zh} : Chinese, {chn} : Chinook Jargon, {chp} : +Chipewyan, {cho} : Choctaw, {cu} : Church Slavic, {chk} : Chuukese, {cv} : +Chuvash, {cop} : Coptic, {kw} : Cornish, {co} : Corsican, {cr} : Cree, +{mus} : Creek, [{cpe} : English-based Creoles and pidgins (Other)], [{cpf} +: French-based Creoles and pidgins (Other)], [{cpp} : Portuguese-based +Creoles and pidgins (Other)], [{crp} : Creoles and pidgins (Other)], {hr} : +Croatian, [{cus} : Cushitic (Other)], {cs} : Czech, {dak} : Dakota, {da} : +Danish, {dar} : Dargwa, {day} : Dayak, {i-default} : Default (Fallthru) +Language, {del} : Delaware, {din} : Dinka, {dv} : Divehi, {doi} : Dogri, +{dgr} : Dogrib, [{dra} : Dravidian (Other)], {dua} : Duala, {nl} : Dutch, +{dum} : Middle Dutch (ca.1050-1350), {dyu} : Dyula, {dz} : Dzongkha, {efi} +: Efik, {egy} : Ancient Egyptian, {eka} : Ekajuk, {elx} : Elamite, {en} : +English, {enm} : Old English (1100-1500), {ang} : Old English +(ca.450-1100), {i-enochian} : Enochian (Artificial), {myv} : Erzya, {eo} : +Esperanto, {et} : Estonian, {ee} : Ewe, {ewo} : Ewondo, {fan} : Fang, {fat} +: Fanti, {fo} : Faroese, {fj} : Fijian, {fi} : Finnish, [{fiu} : +Finno-Ugrian (Other)], {fon} : Fon, {fr} : French, {frm} : Middle French +(ca.1400-1600), {fro} : Old French (842-ca.1400), {fy} : Frisian, {fur} : +Friulian, {ff} : Fulah, {gaa} : Ga, {gd} : Scots Gaelic, {gl} : Gallegan, +{lg} : Ganda, {gay} : Gayo, {gba} : Gbaya, {gez} : Geez, {ka} : Georgian, +{de} : German, {gmh} : Middle High German (ca.1050-1500), {goh} : Old High +German (ca.750-1050), [{gem} : Germanic (Other)], {gil} : Gilbertese, {gon} +: Gondi, {gor} : Gorontalo, {got} : Gothic, {grb} : Grebo, {grc} : Ancient +Greek, {el} : Modern Greek, {gn} : Guarani, {gu} : Gujarati, {gwi} : +Gwich'in, {hai} : Haida, {ht} : Haitian, {ha} : Hausa, {haw} : Hawaiian, {he} : Hebrew, {hz} : Herero, {hil} : Hiligaynon, {him} : Himachali, {hi} : Hindi, {ho} : Hiri Motu, {hit} : Hittite, {hmn} : Hmong, {hu} : Hungarian, -{hup} : Hupa, {iba} : Iban, {is} : Icelandic, {ibo} : Igbo, {ijo} : Ijo, -{ilo} : Iloko, [{inc} : Indic (Other)], [{ine} : Indo-European (Other)], -{id} : Indonesian, {ia} : Interlingua (International Auxiliary Language -Association), {ie} : Interlingue, {iu} : Inuktitut, {ik} : Inupiaq, [{ira} -: Iranian (Other)], {ga} : Irish, {mga} : Middle Irish (900-1200), {sga} : -Old Irish (to 900), [{iro} : Iroquoian languages], {it} : Italian, {ja} : -Japanese, {jw} : Javanese, {jrb} : Judeo-Arabic, {jpr} : Judeo-Persian, -{kab} : Kabyle, {kac} : Kachin, {kl} : Kalaallisut, {kam} : Kamba, {kn} : -Kannada, {kau} : Kanuri, {kaa} : Kara-Kalpak, {kar} : Karen, {ks} : -Kashmiri, {kaw} : Kawi, {kk} : Kazakh, {kha} : Khasi, {km} : Khmer, [{khi} -: Khoisan (Other)], {kho} : Khotanese, {ki} : Kikuyu, {kmb} : Kimbundu, -{rw} : Kinyarwanda, {ky} : Kirghiz, {i-klingon} : Klingon, {kv} : Komi, -{kon} : Kongo, {kok} : Konkani, {ko} : Korean, {kos} : Kosraean, {kpe} : -Kpelle, {kro} : Kru, {kj} : Kuanyama, {kum} : Kumyk, {ku} : Kurdish, {kru} -: Kurukh, {kut} : Kutenai, {lad} : Ladino, {lah} : Lahnda, {lam} : Lamba, -{lo} : Lao, {la} : Latin, {lv} : Latvian, {lb} : Letzeburgesch, {lez} : -Lezghian, {ln} : Lingala, {lt} : Lithuanian, {nds} : Low German, {loz} : -Lozi, {lub} : Luba-Katanga, {lua} : Luba-Lulua, {lui} : Luiseno, {lun} : -Lunda, {luo} : Luo (Kenya and Tanzania), {lus} : Lushai, {mk} : Macedonian, -{mad} : Madurese, {mag} : Magahi, {mai} : Maithili, {mak} : Makasar, {mg} : -Malagasy, {ms} : Malay, {ml} : Malayalam, {mt} : Maltese, {mnc} : Manchu, -{mdr} : Mandar, {man} : Mandingo, {mni} : Manipuri, [{mno} : Manobo -languages], {gv} : Manx, {mi} : Maori, {mr} : Marathi, {chm} : Mari, {mh} : -Marshall, {mwr} : Marwari, {mas} : Masai, [{myn} : Mayan languages], {men} -: Mende, {mic} : Micmac, {min} : Minangkabau, {i-mingo} : Mingo, [{mis} : -Miscellaneous languages], {moh} : Mohawk, {mo} : Moldavian, [{mkh} : -Mon-Khmer (Other)], {lol} : Mongo, {mn} : Mongolian, {mos} : Mossi, [{mul} -: Multiple languages], [{mun} : Munda languages], {nah} : Nahuatl, {na} : -Nauru, {nv} : Navajo, {nd} : North Ndebele, {nr} : South Ndebele, {ng} : -Ndonga, {ne} : Nepali, {new} : Newari, {nia} : Nias, [{nic} : +{hup} : Hupa, {iba} : Iban, {is} : Icelandic, {io} : Ido, {ig} : Igbo, +{ijo} : Ijo, {ilo} : Iloko, [{inc} : Indic (Other)], [{ine} : Indo-European +(Other)], {id} : Indonesian, {inh} : Ingush, {ia} : Interlingua +(International Auxiliary Language Association), {ie} : Interlingue, {iu} : +Inuktitut, {ik} : Inupiaq, [{ira} : Iranian (Other)], {ga} : Irish, {mga} : +Middle Irish (900-1200), {sga} : Old Irish (to 900), [{iro} : Iroquoian +languages], {it} : Italian, {ja} : Japanese, {jv} : Javanese, {jrb} : +Judeo-Arabic, {jpr} : Judeo-Persian, {kbd} : Kabardian, {kab} : Kabyle, +{kac} : Kachin, {kl} : Kalaallisut, {xal} : Kalmyk, {kam} : Kamba, {kn} : +Kannada, {kr} : Kanuri, {krc} : Karachay-Balkar, {kaa} : Kara-Kalpak, {kar} +: Karen, {ks} : Kashmiri, {csb} : Kashubian, {kaw} : Kawi, {kk} : Kazakh, +{kha} : Khasi, {km} : Khmer, [{khi} : Khoisan (Other)], {kho} : Khotanese, +{ki} : Kikuyu, {kmb} : Kimbundu, {rw} : Kinyarwanda, {ky} : Kirghiz, +{i-klingon} : Klingon, {kv} : Komi, {kg} : Kongo, {kok} : Konkani, {ko} : +Korean, {kos} : Kosraean, {kpe} : Kpelle, {kro} : Kru, {kj} : Kuanyama, +{kum} : Kumyk, {ku} : Kurdish, {kru} : Kurukh, {kut} : Kutenai, {lad} : +Ladino, {lah} : Lahnda, {lam} : Lamba, {lo} : Lao, {la} : Latin, {lv} : +Latvian, {lb} : Letzeburgesch, {lez} : Lezghian, {li} : Limburgish, {ln} : +Lingala, {lt} : Lithuanian, {nds} : Low German, {art-lojban} : Lojban +(Artificial), {loz} : Lozi, {lu} : Luba-Katanga, {lua} : Luba-Lulua, {lui} +: Luiseno, {lun} : Lunda, {luo} : Luo (Kenya and Tanzania), {lus} : Lushai, +{mk} : Macedonian, {mad} : Madurese, {mag} : Magahi, {mai} : Maithili, +{mak} : Makasar, {mg} : Malagasy, {ms} : Malay, {ml} : Malayalam, {mt} : +Maltese, {mnc} : Manchu, {mdr} : Mandar, {man} : Mandingo, {mni} : +Manipuri, [{mno} : Manobo languages], {gv} : Manx, {mi} : Maori, {mr} : +Marathi, {chm} : Mari, {mh} : Marshall, {mwr} : Marwari, {mas} : Masai, +[{myn} : Mayan languages], {men} : Mende, {mic} : Micmac, {min} : +Minangkabau, {i-mingo} : Mingo, [{mis} : Miscellaneous languages], {moh} : +Mohawk, {mdf} : Moksha, {mo} : Moldavian, [{mkh} : Mon-Khmer (Other)], +{lol} : Mongo, {mn} : Mongolian, {mos} : Mossi, [{mul} : Multiple +languages], [{mun} : Munda languages], {nah} : Nahuatl, {nap} : Neapolitan, +{na} : Nauru, {nv} : Navajo, {nd} : North Ndebele, {nr} : South Ndebele, +{ng} : Ndonga, {ne} : Nepali, {new} : Newari, {nia} : Nias, [{nic} : Niger-Kordofanian (Other)], [{ssa} : Nilo-Saharan (Other)], {niu} : Niuean, -{non} : Old Norse, [{nai} : North American Indian], {se} : Northern Sami, -{no} : Norwegian, {nb} : Norwegian Bokmal, {nn} : Norwegian Nynorsk, [{nub} -: Nubian languages], {nym} : Nyamwezi, {nyn} : Nyankole, {nyo} : Nyoro, -{nzi} : Nzima, {oc} : Occitan (post 1500), {oji} : Ojibwa, {or} : Oriya, -{om} : Oromo, {osa} : Osage, {os} : Ossetian; Ossetic, [{oto} : Otomian +{nog} : Nogai, {non} : Old Norse, [{nai} : North American Indian], {no} : +Norwegian, {nb} : Norwegian Bokmal, {nn} : Norwegian Nynorsk, [{nub} : +Nubian languages], {nym} : Nyamwezi, {nyn} : Nyankole, {nyo} : Nyoro, {nzi} +: Nzima, {oc} : Occitan (post 1500), {oj} : Ojibwa, {or} : Oriya, {om} : +Oromo, {osa} : Osage, {os} : Ossetian; Ossetic, [{oto} : Otomian languages], {pal} : Pahlavi, {i-pwn} : Paiwan, {pau} : Palauan, {pi} : Pali, {pam} : Pampanga, {pag} : Pangasinan, {pa} : Panjabi, {pap} : Papiamento, [{paa} : Papuan (Other)], {fa} : Persian, {peo} : Old Persian @@ -14090,34 +16758,37 @@ Papiamento, [{paa} : Papuan (Other)], {fa} : Persian, {peo} : Old Persian Raeto-Romance, {raj} : Rajasthani, {rap} : Rapanui, {rar} : Rarotongan, [{qaa - qtz} : Reserved for local use.], [{roa} : Romance (Other)], {ro} : Romanian, {rom} : Romany, {rn} : Rundi, {ru} : Russian, [{sal} : Salishan -languages], {sam} : Samaritan Aramaic, [{smi} : Sami languages (Other)], -{sm} : Samoan, {sad} : Sandawe, {sg} : Sango, {sa} : Sanskrit, {sat} : -Santali, {sc} : Sardinian, {sas} : Sasak, {sco} : Scots, {sel} : Selkup, -[{sem} : Semitic (Other)], {sr} : Serbian, {srr} : Serer, {shn} : Shan, -{sn} : Shona, {sid} : Sidamo, {sgn-...} : Sign Languages, {bla} : Siksika, -{sd} : Sindhi, {si} : Sinhalese, [{sit} : Sino-Tibetan (Other)], [{sio} : -Siouan languages], {den} : Slave (Athapascan), [{sla} : Slavic (Other)], -{sk} : Slovak, {sl} : Slovenian, {sog} : Sogdian, {so} : Somali, {son} : -Songhai, {snk} : Soninke, {wen} : Sorbian languages, {nso} : Northern -Sotho, {st} : Southern Sotho, [{sai} : South American Indian (Other)], {es} -: Spanish, {suk} : Sukuma, {sux} : Sumerian, {su} : Sundanese, {sus} : -Susu, {sw} : Swahili, {ss} : Swati, {sv} : Swedish, {syr} : Syriac, {tl} : -Tagalog, {ty} : Tahitian, [{tai} : Tai (Other)], {tg} : Tajik, {tmh} : -Tamashek, {ta} : Tamil, {i-tao} : Tao, {tt} : Tatar, {i-tay} : Tayal, {te} -: Telugu, {ter} : Tereno, {tet} : Tetum, {th} : Thai, {bo} : Tibetan, {tig} -: Tigre, {ti} : Tigrinya, {tem} : Timne, {tiv} : Tiv, {tli} : Tlingit, -{tpi} : Tok Pisin, {tkl} : Tokelau, {tog} : Tonga (Nyasa), {to} : Tonga -(Tonga Islands), {tsi} : Tsimshian, {ts} : Tsonga, {i-tsu} : Tsou, {tn} : -Tswana, {tum} : Tumbuka, {tr} : Turkish, {ota} : Ottoman Turkish -(1500-1928), {tk} : Turkmen, {tvl} : Tuvalu, {tyv} : Tuvinian, {tw} : Twi, -{uga} : Ugaritic, {ug} : Uighur, {uk} : Ukrainian, {umb} : Umbundu, {und} : -Undetermined, {ur} : Urdu, {uz} : Uzbek, {vai} : Vai, {ven} : Venda, {vi} : -Vietnamese, {vo} : Volapuk, {vot} : Votic, [{wak} : Wakashan languages], -{wal} : Walamo, {war} : Waray, {was} : Washo, {cy} : Welsh, {wo} : Wolof, -{x-...} : Unregistered (Semi-Private Use), {xh} : Xhosa, {sah} : Yakut, -{yao} : Yao, {yap} : Yapese, {yi} : Yiddish, {yo} : Yoruba, [{ypk} : Yupik -languages], {znd} : Zande, [{zap} : Zapotec], {zen} : Zenaga, {za} : -Zhuang, {zu} : Zulu, {zun} : Zuni +languages], {sam} : Samaritan Aramaic, {se} : Northern Sami, {sma} : +Southern Sami, {smn} : Inari Sami, {smj} : Lule Sami, {sms} : Skolt Sami, +[{smi} : Sami languages (Other)], {sm} : Samoan, {sad} : Sandawe, {sg} : +Sango, {sa} : Sanskrit, {sat} : Santali, {sc} : Sardinian, {sas} : Sasak, +{sco} : Scots, {sel} : Selkup, [{sem} : Semitic (Other)], {sr} : Serbian, +{srr} : Serer, {shn} : Shan, {sn} : Shona, {sid} : Sidamo, {sgn-...} : Sign +Languages, {bla} : Siksika, {sd} : Sindhi, {si} : Sinhalese, [{sit} : +Sino-Tibetan (Other)], [{sio} : Siouan languages], {den} : Slave +(Athapascan), [{sla} : Slavic (Other)], {sk} : Slovak, {sl} : Slovenian, +{sog} : Sogdian, {so} : Somali, {son} : Songhai, {snk} : Soninke, {wen} : +Sorbian languages, {nso} : Northern Sotho, {st} : Southern Sotho, [{sai} : +South American Indian (Other)], {es} : Spanish, {suk} : Sukuma, {sux} : +Sumerian, {su} : Sundanese, {sus} : Susu, {sw} : Swahili, {ss} : Swati, +{sv} : Swedish, {syr} : Syriac, {tl} : Tagalog, {ty} : Tahitian, [{tai} : +Tai (Other)], {tg} : Tajik, {tmh} : Tamashek, {ta} : Tamil, {i-tao} : Tao, +{tt} : Tatar, {i-tay} : Tayal, {te} : Telugu, {ter} : Tereno, {tet} : +Tetum, {th} : Thai, {bo} : Tibetan, {tig} : Tigre, {ti} : Tigrinya, {tem} : +Timne, {tiv} : Tiv, {tli} : Tlingit, {tpi} : Tok Pisin, {tkl} : Tokelau, +{tog} : Tonga (Nyasa), {to} : Tonga (Tonga Islands), {tsi} : Tsimshian, +{ts} : Tsonga, {i-tsu} : Tsou, {tn} : Tswana, {tum} : Tumbuka, [{tup} : +Tupi languages], {tr} : Turkish, {ota} : Ottoman Turkish (1500-1928), {crh} +: Crimean Turkish, {tk} : Turkmen, {tvl} : Tuvalu, {tyv} : Tuvinian, {tw} : +Twi, {udm} : Udmurt, {uga} : Ugaritic, {ug} : Uighur, {uk} : Ukrainian, +{umb} : Umbundu, {und} : Undetermined, {ur} : Urdu, {uz} : Uzbek, {vai} : +Vai, {ve} : Venda, {vi} : Vietnamese, {vo} : Volapuk, {vot} : Votic, [{wak} +: Wakashan languages], {wa} : Walloon, {wal} : Walamo, {war} : Waray, {was} +: Washo, {cy} : Welsh, {wo} : Wolof, {x-...} : Unregistered (Semi-Private +Use), {xh} : Xhosa, {sah} : Yakut, {yao} : Yao, {yap} : Yapese, {ii} : +Sichuan Yi, {yi} : Yiddish, {yo} : Yoruba, [{ypk} : Yupik languages], {znd} +: Zande, [{zap} : Zapotec], {zen} : Zenaga, {za} : Zhuang, {zu} : Zulu, +{zun} : Zuni =item SEE ALSO @@ -14157,6 +16828,8 @@ Zhuang, {zu} : Zulu, {zun} : Zuni =item DESCRIPTION +=item DEPRECATED + =back =head2 IO::Dir - supply object methods for directory handles @@ -14168,7 +16841,7 @@ Zhuang, {zu} : Zulu, {zun} : Zuni =item DESCRIPTION new ( [ DIRNAME ] ), open ( DIRNAME ), read (), seek ( POS ), tell (), -rewind (), close (), tie %hash, IO::Dir, DIRNAME [, OPTIONS ] +rewind (), close (), tie %hash, 'IO::Dir', DIRNAME [, OPTIONS ] =item SEE ALSO @@ -14192,7 +16865,10 @@ new ( FILENAME [,MODE [,PERMS]] ), new_tmpfile =item METHODS -open( FILENAME [,MODE [,PERMS]] ) +open( FILENAME [,MODE [,PERMS]] ), open( FILENAME, IOLAYERS ), binmode( +[LAYER] ) + +=item NOTE =item SEE ALSO @@ -14308,7 +16984,7 @@ new ( [ HANDLES ] ) add ( HANDLES ), remove ( HANDLES ), exists ( HANDLE ), handles, can_read ( [ TIMEOUT ] ), can_write ( [ TIMEOUT ] ), has_exception ( [ TIMEOUT ] ), -count (), bits(), select ( READ, WRITE, ERROR [, TIMEOUT ] ) +count (), bits(), select ( READ, WRITE, EXCEPTION [, TIMEOUT ] ) =item EXAMPLE @@ -14396,6 +17072,52 @@ hostpath(), peerpath() =back +=head2 IO::Zlib - IO:: style interface to L + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item CONSTRUCTOR + +new ( [ARGS] ) + +=item OBJECT METHODS + +open ( FILENAME, MODE ), opened, close, getc, getline, getlines, print ( +ARGS... ), read ( BUF, NBYTES, [OFFSET] ), eof, seek ( OFFSET, WHENCE ), +tell, setpos ( POS ), getpos ( POS ) + +=item USING THE EXTERNAL GZIP + +=item CLASS METHODS + +has_Compress_Zlib, gzip_external, gzip_used, gzip_read_open, +gzip_write_open + +=item DIAGNOSTICS + +IO::Zlib::getlines: must be called in list context, +IO::Zlib::gzopen_external: mode '...' is illegal, IO::Zlib::import: '...' +is illegal, IO::Zlib::import: ':gzip_external' requires an argument, +IO::Zlib::import: 'gzip_read_open' requires an argument, IO::Zlib::import: +'gzip_read' '...' is illegal, IO::Zlib::import: 'gzip_write_open' requires +an argument, IO::Zlib::import: 'gzip_write_open' '...' is illegal, +IO::Zlib::import: no Compress::Zlib and no external gzip, IO::Zlib::open: +needs a filename, IO::Zlib::READ: NBYTES must be specified, IO::Zlib::READ: +OFFSET is not supported, IO::Zlib::WRITE: too long LENGTH, IO::Zlib::WRITE: +OFFSET is not supported + +=item SEE ALSO + +=item HISTORY + +=item COPYRIGHT + +=back + =head2 IO::lib::IO::Dir, IO::Dir - supply object methods for directory handles @@ -14406,7 +17128,7 @@ handles =item DESCRIPTION new ( [ DIRNAME ] ), open ( DIRNAME ), read (), seek ( POS ), tell (), -rewind (), close (), tie %hash, IO::Dir, DIRNAME [, OPTIONS ] +rewind (), close (), tie %hash, 'IO::Dir', DIRNAME [, OPTIONS ] =item SEE ALSO @@ -14430,7 +17152,10 @@ new ( FILENAME [,MODE [,PERMS]] ), new_tmpfile =item METHODS -open( FILENAME [,MODE [,PERMS]] ) +open( FILENAME [,MODE [,PERMS]] ), open( FILENAME, IOLAYERS ), binmode( +[LAYER] ) + +=item NOTE =item SEE ALSO @@ -14549,7 +17274,7 @@ new ( [ HANDLES ] ) add ( HANDLES ), remove ( HANDLES ), exists ( HANDLE ), handles, can_read ( [ TIMEOUT ] ), can_write ( [ TIMEOUT ] ), has_exception ( [ TIMEOUT ] ), -count (), bits(), select ( READ, WRITE, ERROR [, TIMEOUT ] ) +count (), bits(), select ( READ, WRITE, EXCEPTION [, TIMEOUT ] ) =item EXAMPLE @@ -14824,8 +17549,9 @@ general-utility scalar subroutines =item DESCRIPTION -blessed EXPR, dualvar NUM, STRING, isweak EXPR, openhandle FH, reftype -EXPR, tainted EXPR, weaken REF +blessed EXPR, dualvar NUM, STRING, isvstring EXPR, isweak EXPR, +looks_like_number EXPR, openhandle FH, refaddr EXPR, reftype EXPR, +set_prototype CODEREF, PROTOTYPE, tainted EXPR, weaken REF =item KNOWN BUGS @@ -14895,7 +17621,7 @@ C, C Locale::Language, Locale::Script, Locale::Currency, Locale::SubCountry, ISO 3166-1, http://www.iso.org/iso/en/prods-services/iso3166ma/index.html, http://www.egt.ie/standards/iso3166/iso3166-1-en.html, -http://www.cia.gov/cia/publications/factbook/docs/app-f.html +http://www.cia.gov/cia/publications/factbook/docs/app-d-1.html =item AUTHOR @@ -14969,7 +17695,7 @@ http://lcweb.loc.gov/standards/iso639-2/langhome.html =back -=head2 Locale::Maketext -- framework for localization +=head2 Locale::Maketext - framework for localization =over 4 @@ -15106,7 +17832,7 @@ http://www.evertype.com/standards/iso15924/ =item DESCRIPTION -encode_base64($str, [$eol]), decode_base64($str) +encode_base64($str), encode_base64($str, $eol);, decode_base64($str) =item DIAGNOSTICS @@ -15116,6 +17842,8 @@ Premature end of base64 data, Premature padding of base64 data =item COPYRIGHT +=item SEE ALSO + =back =head2 MIME::Base64::QuotedPrint, MIME::QuotedPrint - Encoding and decoding @@ -15127,10 +17855,13 @@ of quoted-printable strings =item DESCRIPTION -encode_qp($str), decode_qp($str); +encode_qp($str), encode_qp($str, $eol), encode_qp($str, $eol, $binmode), +decode_qp($str); =item COPYRIGHT +=item SEE ALSO + =back =head2 MIME::QuotedPrint - Encoding and decoding of quoted-printable @@ -15142,10 +17873,13 @@ strings =item DESCRIPTION -encode_qp($str), decode_qp($str); +encode_qp($str), encode_qp($str, $eol), encode_qp($str, $eol, $binmode), +decode_qp($str); =item COPYRIGHT +=item SEE ALSO + =back =head2 Math::BigFloat - Arbitrary size floating point math package @@ -15173,9 +17907,15 @@ ffround ( +$scale ), ffround ( -$scale ), ffround ( 0 ), fround ( +$scale =back -=item EXAMPLES +=item METHODS + +=over 4 - # not ready yet +=item accuracy + +=item precision() + +=back =item Autocreating constants @@ -15189,9 +17929,11 @@ ffround ( +$scale ), ffround ( -$scale ), ffround ( 0 ), fround ( +$scale =item BUGS -=item CAVEAT +=item CAVEATS -stringify, bstr(), bdiv, Modifying and =, bpow +stringify, bstr(), bdiv, Modifying and =, bpow, precision() vs. accuracy() + +=item SEE ALSO =item LICENSE @@ -15199,7 +17941,7 @@ stringify, bstr(), bdiv, Modifying and =, bpow =back -=head2 Math::BigInt - Arbitrary size integer math package +=head2 Math::BigInt - Arbitrary size integer/float math package =over 4 @@ -15207,7 +17949,7 @@ stringify, bstr(), bdiv, Modifying and =, bpow =item DESCRIPTION -Canonical notation, Input, Output +Input, Output =item METHODS @@ -15217,6 +17959,8 @@ Canonical notation, Input, Output =item accuracy +=item precision + =item brsft =item new @@ -15231,10 +17975,10 @@ Canonical notation, Input, Output =item is_one()/is_zero()/is_nan()/is_inf() -=item is_positive()/is_negative() +=item is_pos()/is_neg() - $x->is_positive(); # true if >= 0 - $x->is_negative(); # true if < 0 + $x->is_pos(); # true if > 0 + $x->is_neg(); # true if < 0 =item is_odd()/is_even()/is_int() @@ -15244,7 +17988,7 @@ Canonical notation, Input, Output =item sign -=item bcmp +=item digit =item bneg @@ -15312,7 +18056,7 @@ Canonical notation, Input, Output =item copy -=item as_number +=item as_int =item bsstr @@ -15341,6 +18085,10 @@ Remarks =back +=item Infinity and Not a Number + +oct()/hex(), log(-inf), exp(), cos(), sin(), atan2() + =item INTERNALS =over 4 @@ -15383,13 +18131,14 @@ bsqrt(), div(), blog() =item BUGS -Out of Memory!, Fails to load Calc on Perl prior 5.6.0 +broot() does not work, Out of Memory!, Fails to load Calc on Perl prior +5.6.0 =item CAVEATS -stringify, bstr(), bsstr() and 'cmp', int(), length, bdiv, infinity -handling, Modifying and =, bpow, Overloading -$x, Mixing different object -types, bsqrt(), brsft() +bstr(), bsstr() and 'cmp', int(), length, bdiv, infinity handling, +Modifying and =, bpow, Overloading -$x, Mixing different object types, +bsqrt(), brsft() =item LICENSE @@ -15407,7 +18156,9 @@ types, bsqrt(), brsft() =item DESCRIPTION -=item EXPORT +=item STORAGE + +=item METHODS =item WRAP YOUR OWN @@ -15423,7 +18174,64 @@ the same terms as Perl itself. =back -=head2 Math::BigRat - arbitrarily big rationals +=head2 Math::BigInt::CalcEmu - Emulate low-level math with BigInt code + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item METHODS + +=over 4 + +=item __emu_bxor + +=item __emu_band + +=item __emu_bior + +=back + +=item LICENSE + +This program is free software; you may redistribute it and/or modify it +under +the same terms as Perl itself. + +=item AUTHORS + +=item SEE ALSO + +=back + +=head2 Math::BigInt::FastCalc - Math::BigInt::Calc with some XS for more +speed + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item STORAGE + +=item METHODS + +=item LICENSE + +This program is free software; you may redistribute it and/or modify it +under +the same terms as Perl itself. + +=item AUTHORS + +=item SEE ALSO + +=back + +=head2 Math::BigRat - Arbitrary big rational numbers =over 4 @@ -15451,17 +18259,53 @@ the same terms as Perl itself. =item parts() -=item as_number() +=item as_int() + +=item as_hex() + +=item as_bin() + +=item bfac() -=item bfac()/blog() +=item blog() =item bround()/round()/bfround() +=item bmod() + +=item is_one() + +=item is_zero() + +=item is_pos() + +=item is_neg() + +=item is_int() + +=item is_odd() + +=item is_even() + +=item bceil() + +=item bfloor() + + $x->bfloor(); + +=item bsqrt() + + $x->bsqrt(); + +=item config + =back =item BUGS -perl -Mbigrat -le 'print 1 + 2/3' +inf handling (partial), NaN handling (partial), rounding (not implemented +except for bceil/bfloor), $x ** $y where $y is not an integer, bmod(), +blog(), bmodinv() and bmodpow() (partial) =item LICENSE @@ -15664,20 +18508,40 @@ Storable use =back -=head2 Memoize::SDBM_File - glue to provide EXISTS for SDBM_File for -Storable use +=head2 Memoize::SDBM_File - glue to provide EXISTS for SDBM_File for +Storable use + +=over 4 + +=item DESCRIPTION + +=back + +=head2 Memoize::Storable - store Memoized data in Storable database + +=over 4 + +=item DESCRIPTION + +=back + +=head2 Module::CoreList - what modules shipped with versions of perl =over 4 +=item SYNOPSIS + =item DESCRIPTION -=back +=item CAVEATS -=head2 Memoize::Storable - store Memoized data in Storable database +=item HISTORY -=over 4 +=item AUTHOR -=item DESCRIPTION +=item COPYRIGHT + +=item SEE ALSO =back @@ -15703,7 +18567,8 @@ C, C, C =back -=head2 NEXT - Provide a pseudo-class NEXT that allows method redispatch +=head2 NEXT - Provide a pseudo-class NEXT (et al) that allows method +redispatch =over 4 @@ -15717,6 +18582,10 @@ C, C, C =item Avoiding repetitions +=item Invoking all versions of a method with a single call + +=item Using C methods + =back =item AUTHOR @@ -15744,7 +18613,7 @@ dataend () debug_print ( DIR, TEXT ), debug_text ( TEXT ), command ( CMD [, ARGS, ... ]), unsupported (), response (), parse_response ( TEXT ), getline (), -ungetline ( TEXT ), read_until_dot (), tied_fh () +ungetline ( TEXT ), rawdatasend ( DATA ), read_until_dot (), tied_fh () =item EXPORTS @@ -15803,23 +18672,23 @@ hostfqdn (), hostname (), hostdomain () =item CONSTRUCTOR -new (HOST [,OPTIONS]) +new ([ HOST ] [, OPTIONS ]) =item METHODS login ([LOGIN [,PASSWORD [, ACCOUNT] ] ]), authorize ( [AUTH [, RESP]]), -site (ARGS), type (TYPE [, ARGS]), ascii ([ARGS]) binary([ARGS]) -ebcdic([ARGS]) byte([ARGS]), rename ( OLDNAME, NEWNAME ), delete ( FILENAME -), cwd ( [ DIR ] ), cdup (), pwd (), restart ( WHERE ), rmdir ( DIR ), -mkdir ( DIR [, RECURSE ]), ls ( [ DIR ] ), dir ( [ DIR ] ), get ( -REMOTE_FILE [, LOCAL_FILE [, WHERE]] ), put ( LOCAL_FILE [, REMOTE_FILE ] -), put_unique ( LOCAL_FILE [, REMOTE_FILE ] ), append ( LOCAL_FILE [, -REMOTE_FILE ] ), unique_name (), mdtm ( FILE ), size ( FILE ), supported ( -CMD ), hash ( [FILEHANDLE_GLOB_REF],[ BYTES_PER_HASH_MARK] ), nlst ( [ DIR -] ), list ( [ DIR ] ), retr ( FILE ), stor ( FILE ), stou ( FILE ), appe ( -FILE ), port ( [ PORT ] ), pasv (), pasv_xfer ( SRC_FILE, DEST_SERVER [, -DEST_FILE ] ), pasv_xfer_unique ( SRC_FILE, DEST_SERVER [, DEST_FILE ] ), -pasv_wait ( NON_PASV_SERVER ), abort (), quit () +site (ARGS), ascii, binary, rename ( OLDNAME, NEWNAME ), delete ( FILENAME +), cwd ( [ DIR ] ), cdup (), pwd (), restart ( WHERE ), rmdir ( DIR [, +RECURSE ]), mkdir ( DIR [, RECURSE ]), alloc ( SIZE [, RECORD_SIZE] ), ls ( +[ DIR ] ), dir ( [ DIR ] ), get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] ), +put ( LOCAL_FILE [, REMOTE_FILE ] ), put_unique ( LOCAL_FILE [, REMOTE_FILE +] ), append ( LOCAL_FILE [, REMOTE_FILE ] ), unique_name (), mdtm ( FILE ), +size ( FILE ), supported ( CMD ), hash ( [FILEHANDLE_GLOB_REF],[ +BYTES_PER_HASH_MARK] ), nlst ( [ DIR ] ), list ( [ DIR ] ), retr ( FILE ), +stor ( FILE ), stou ( FILE ), appe ( FILE ), port ( [ PORT ] ), pasv (), +pasv_xfer ( SRC_FILE, DEST_SERVER [, DEST_FILE ] ), pasv_xfer_unique ( +SRC_FILE, DEST_SERVER [, DEST_FILE ] ), pasv_wait ( NON_PASV_SERVER ), +abort (), quit () =over 4 @@ -15836,7 +18705,7 @@ bytes_read (), abort (), close () =item UNIMPLEMENTED -B, B, B, B, B, B, B, B +B, B, B, B, B, B, B =item REPORTING BUGS @@ -15846,7 +18715,7 @@ B, B, B, B, B, B, B, B =item USE EXAMPLES -http://www.csh.rit.edu/~adam/Progs/autoftp-2.0.tar.gz +http://www.csh.rit.edu/~adam/Progs/ =item CREDITS @@ -15910,18 +18779,17 @@ MESSAGE-SPEC, PATTERN, Examples, C<[^]-]>, C<*bdc>, C<[0-9a-zA-Z]>, C =item DESCRIPTION -=item EXAMPLES - =item CONSTRUCTOR -new ( [ HOST, ] [ OPTIONS ] ) +new ( [ HOST ] [, OPTIONS ] 0 =item METHODS -user ( USER ), pass ( PASS ), login ( [ USER [, PASS ]] ), apop ( [ USER [, -PASS ]] ), top ( MSGNUM [, NUMLINES ] ), list ( [ MSGNUM ] ), get ( MSGNUM -[, FH ] ), getfh ( MSGNUM ), last (), popstat (), ping ( USER ), uidl ( [ -MSGNUM ] ), delete ( MSGNUM ), reset (), quit () +auth ( USERNAME, PASSWORD ), user ( USER ), pass ( PASS ), login ( [ USER +[, PASS ]] ), apop ( [ USER [, PASS ]] ), banner (), capa (), capabilities +(), top ( MSGNUM [, NUMLINES ] ), list ( [ MSGNUM ] ), get ( MSGNUM [, FH ] +), getfh ( MSGNUM ), last (), popstat (), ping ( USER ), uidl ( [ MSGNUM ] +), delete ( MSGNUM ), reset (), quit () =item NOTES @@ -15945,16 +18813,21 @@ MSGNUM ] ), delete ( MSGNUM ), reset (), quit () =item Functions -Net::Ping->new([$proto [, $def_timeout [, $bytes]]]);, $p->hires( { 0 | 1 } -);, $p->bind($local_addr);, $p->ping($host [, $timeout]);, -$p->open($host);, $p->close();, pingecho($host [, $timeout]); +Net::Ping->new([$proto [, $def_timeout [, $bytes [, $device [, $tos +]]]]]);, $p->ping($host [, $timeout]);, $p->source_verify( { 0 | 1 } );, +$p->service_check( { 0 | 1 } );, $p->tcp_service_check( { 0 | 1 } );, +$p->hires( { 0 | 1 } );, $p->bind($local_addr);, $p->open($host);, $p->ack( +[ $host ] );, $p->nack( $failed_ack_host );, $p->close();, pingecho($host +[, $timeout]); =back -=item WARNING - =item NOTES +=item INSTALL + +=item BUGS + =item AUTHORS =item COPYRIGHT @@ -15973,17 +18846,17 @@ $p->open($host);, $p->close();, pingecho($host [, $timeout]); =item CONSTRUCTOR -new Net::SMTP [ HOST, ] [ OPTIONS ] +new ( [ HOST ] [, OPTIONS ] ) =item METHODS -banner (), domain (), hello ( DOMAIN ), etrn ( DOMAIN ), auth ( USERNAME, -PASSWORD ), mail ( ADDRESS [, OPTIONS] ), send ( ADDRESS ), send_or_mail ( -ADDRESS ), send_and_mail ( ADDRESS ), reset (), recipient ( ADDRESS [, -ADDRESS [ ...]] [, OPTIONS ] ), to ( ADDRESS [, ADDRESS [...]] ), cc ( -ADDRESS [, ADDRESS [...]] ), bcc ( ADDRESS [, ADDRESS [...]] ), data ( [ -DATA ] ), expand ( ADDRESS ), verify ( ADDRESS ), help ( [ $subject ] ), -quit () +banner (), domain (), hello ( DOMAIN ), host (), etrn ( DOMAIN ), auth ( +USERNAME, PASSWORD ), mail ( ADDRESS [, OPTIONS] ), send ( ADDRESS ), +send_or_mail ( ADDRESS ), send_and_mail ( ADDRESS ), reset (), recipient ( +ADDRESS [, ADDRESS, [...]] [, OPTIONS ] ), to ( ADDRESS [, ADDRESS [...]] +), cc ( ADDRESS [, ADDRESS [...]] ), bcc ( ADDRESS [, ADDRESS [...]] ), +data ( [ DATA ] ), expand ( ADDRESS ), verify ( ADDRESS ), help ( [ +$subject ] ), quit () =item ADDRESSES @@ -16361,17 +19234,17 @@ cuserid, difftime, div, dup, dup2, errno, execl, execle, execlp, execv, execve, execvp, exit, exp, fabs, fclose, fcntl, fdopen, feof, ferror, fflush, fgetc, fgetpos, fgets, fileno, floor, fmod, fopen, fork, fpathconf, fprintf, fputc, fputs, fread, free, freopen, frexp, fscanf, fseek, fsetpos, -fstat, ftell, fwrite, getc, getchar, getcwd, getegid, getenv, geteuid, -getgid, getgrgid, getgrnam, getgroups, getlogin, getpgrp, getpid, getppid, -getpwnam, getpwuid, gets, getuid, gmtime, isalnum, isalpha, isatty, -iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, -isxdigit, kill, labs, ldexp, ldiv, link, localeconv, localtime, log, log10, -longjmp, lseek, malloc, mblen, mbstowcs, mbtowc, memchr, memcmp, memcpy, -memmove, memset, mkdir, mkfifo, mktime, modf, nice, offsetof, open, -opendir, pathconf, pause, perror, pipe, pow, printf, putc, putchar, puts, -qsort, raise, rand, read, readdir, realloc, remove, rename, rewind, -rewinddir, rmdir, scanf, setgid, setjmp, setlocale, setpgid, setsid, -setuid, sigaction, siglongjmp, sigpending, sigprocmask, sigsetjmp, +fstat, fsync, ftell, fwrite, getc, getchar, getcwd, getegid, getenv, +geteuid, getgid, getgrgid, getgrnam, getgroups, getlogin, getpgrp, getpid, +getppid, getpwnam, getpwuid, gets, getuid, gmtime, isalnum, isalpha, +isatty, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, +isupper, isxdigit, kill, labs, ldexp, ldiv, link, localeconv, localtime, +log, log10, longjmp, lseek, malloc, mblen, mbstowcs, mbtowc, memchr, +memcmp, memcpy, memmove, memset, mkdir, mkfifo, mktime, modf, nice, +offsetof, open, opendir, pathconf, pause, perror, pipe, pow, printf, putc, +putchar, puts, qsort, raise, rand, read, readdir, realloc, remove, rename, +rewind, rewinddir, rmdir, scanf, setgid, setjmp, setlocale, setpgid, +setsid, setuid, sigaction, siglongjmp, sigpending, sigprocmask, sigsetjmp, sigsuspend, sin, sinh, sleep, sprintf, sqrt, srand, sscanf, stat, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strerror, strftime, strlen, strncat, strncmp, strncpy, strpbrk, strrchr, strspn, strstr, strtod, @@ -16387,7 +19260,7 @@ wctomb, write =item POSIX::SigAction -new +new, handler, mask, flags, safe =item POSIX::SigSet @@ -16479,12 +19352,20 @@ name space =item DESCRIPTION -unix, stdio, perlio, crlf, utf8, bytes, raw +:unix, :stdio, :perlio, :crlf, :mmap, :utf8, :bytes, :raw, :pop, :win32 =over 4 +=item Custom Layers + +:encoding, :via + +=item Alternatives to raw + =item Defaults and how to override them +=item Querying the layers of filehandles + =back =item AUTHOR @@ -16493,7 +19374,19 @@ unix, stdio, perlio, crlf, utf8, bytes, raw =back -=head2 PerlIO::Scalar - support module for in-memory IO. +=head2 PerlIO::encoding - encoding layer + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=back + +=head2 PerlIO::scalar - in-memory IO, scalar IO =over 4 @@ -16501,9 +19394,11 @@ unix, stdio, perlio, crlf, utf8, bytes, raw =item DESCRIPTION +=item IMPLEMENTATION NOTE + =back -=head2 PerlIO::Via - Helper class for PerlIO layers implemented in perl +=head2 PerlIO::via - Helper class for PerlIO layers implemented in perl =over 4 @@ -16511,14 +19406,19 @@ unix, stdio, perlio, crlf, utf8, bytes, raw =item DESCRIPTION +=item EXPECTED METHODS + $class->PUSHED([$mode[,$fh]]), $obj->POPPED([$fh]), -$class->OPEN($path,$mode[,$fh]), $class->FDOPEN($fd), -$class->SYSOPEN($path,$imode,$perm,$fh), $obj->FILENO($fh), +$obj->UTF8($bellowFlag,[$fh]), $obj->OPEN($path,$mode[,$fh]), +$obj->BINMODE([,$fh]), $obj->FDOPEN($fd[,$fh]), +$obj->SYSOPEN($path,$imode,$perm,[,$fh]), $obj->FILENO($fh), $obj->READ($buffer,$len,$fh), $obj->WRITE($buffer,$fh), $obj->FILL($fh), $obj->CLOSE($fh), $obj->SEEK($posn,$whence,$fh), $obj->TELL($fh), $obj->UNREAD($buffer,$fh), $obj->FLUSH($fh), $obj->SETLINEBUF($fh), $obj->CLEARERR($fh), $obj->ERROR($fh), $obj->EOF($fh) +=item EXAMPLES + =over 4 =item Example - a Hexadecimal Handle @@ -16527,7 +19427,7 @@ $obj->CLEARERR($fh), $obj->ERROR($fh), $obj->EOF($fh) =back -=head2 PerlIO::encoding - encoding layer +=head2 PerlIO::via::QuotedPrint - PerlIO layer for quoted-printable strings =over 4 @@ -16535,8 +19435,14 @@ $obj->CLEARERR($fh), $obj->ERROR($fh), $obj->EOF($fh) =item DESCRIPTION +=item REQUIRED MODULES + =item SEE ALSO +=item ACKNOWLEDGEMENTS + +=item COPYRIGHT + =back =head2 Pod::Checker, podchecker() - check pod documents for syntax errors @@ -16580,7 +19486,8 @@ whitespace in paragraph, file does not start with =head, previous =item has no contents, preceding non-item paragraph(s), =item type mismatch (I vs. I), I unescaped CE> in paragraph, Unknown entity, No items in =over, No argument for =item, empty section in previous paragraph, -Verbatim paragraph in NAME section +Verbatim paragraph in NAME section, =headI without preceding higher +level =item Hyperlinks @@ -16604,6 +19511,8 @@ C<$checker-Epoderror( @args )>, C<$checker-Epoderror( {%opts}, C<$checker-Enum_errors()> +C<$checker-Enum_warnings()> + C<$checker-Ename()> C<$checker-Enode()> @@ -16676,9 +19585,9 @@ C<-inc =E 1>, C<-dirs =E [ $dir1, $dir2, ... ]>, C<-verbose =E =item ARGUMENTS -backlink, cachedir, css, flush, header, help, htmldir, htmlroot, index, -infile, libpods, netscape, outfile, podpath, podroot, quiet, recurse, -title, verbose +backlink, cachedir, css, flush, header, help, hiddendirs, htmldir, +htmlroot, index, infile, libpods, netscape, outfile, podpath, podroot, +quiet, recurse, title, verbose =item EXAMPLE @@ -17074,7 +19983,7 @@ escape EE%sE, %s:%d: Unknown formatting code %s, %s:%d: Unmatched =back -=head2 Pod::ParseLink -- Parse an LEE formatting code in POD text +=head2 Pod::ParseLink - Parse an LEE formatting code in POD text =over 4 @@ -17082,6 +19991,8 @@ escape EE%sE, %s:%d: Unknown formatting code %s, %s:%d: Unmatched =item DESCRIPTION +=item SEE ALSO + =item AUTHOR =item COPYRIGHT AND LICENSE @@ -17431,6 +20342,163 @@ I|I =back +=head2 Pod::Perldoc::ToChecker - let Perldoc check Pod for errors + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToMan - let Perldoc render Pod as man pages + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item CAVEAT + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToNroff - let Perldoc convert Pod to nroff + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item CAVEAT + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToPod - let Perldoc render Pod as ... Pod! + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToRtf - let Perldoc render Pod as RTF + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToText - let Perldoc render Pod as plaintext + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item CAVEAT + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToTk - let Perldoc use Tk::Pod to render Pod + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=item AUTHOR + +=back + +=head2 Pod::Perldoc::ToXml - let Perldoc render Pod as XML + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=item COPYRIGHT AND DISCLAIMERS + +=item AUTHOR + +=back + +=head2 Pod::PlainText - Convert POD data to formatted ASCII text + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +alt, indent, loose, sentence, width + +=item DIAGNOSTICS + +Bizarre space in item, Can't open %s for reading: %s, Unknown escape: %s, +Unknown sequence: %s, Unmatched =back + +=item RESTRICTIONS + +=item NOTES + +=item SEE ALSO + +=item AUTHOR + +=back + =head2 Pod::Plainer - Perl extension for converting Pod to old style Pod. =over 4 @@ -17566,7 +20634,7 @@ B<-output>, B<-sections>, B<-ranges> =item DESCRIPTION -alt, code, indent, loose, quotes, sentence, width +alt, code, indent, loose, margin, quotes, sentence, width =item DIAGNOSTICS @@ -17597,156 +20665,79 @@ Unmatched =back =item BUGS -=item SEE ALSO - -=item AUTHOR - -=item COPYRIGHT AND LICENSE - -=back - -=head2 Pod::Text::Overstrike - Convert POD data to formatted overstrike -text - -=over 4 - -=item SYNOPSIS - -=item DESCRIPTION - -=item BUGS - -=item SEE ALSO - -=item AUTHOR - -=item COPYRIGHT AND LICENSE - -=back - -=head2 Pod::Text::Termcap, Pod::Text::Color - Convert POD data to ASCII -text with format escapes - -=over 4 - -=item SYNOPSIS - -=item DESCRIPTION - -=item NOTES - -=item SEE ALSO - -=item AUTHOR - -=item COPYRIGHT AND LICENSE - -=back - -=head2 Pod::Usage, pod2usage() - print a usage message from embedded pod -documentation - -=over 4 - -=item SYNOPSIS - -=item ARGUMENTS - -C<-message>, C<-msg>, C<-exitval>, C<-verbose>, C<-output>, C<-input>, -C<-pathlist> - -=item DESCRIPTION - -=item EXAMPLES - -=over 4 - -=item Recommended Use - -=back - -=item CAVEATS +=item SEE ALSO =item AUTHOR -=item ACKNOWLEDGEMENTS +=item COPYRIGHT AND LICENSE =back -=head2 Pod::t::basic, basic.pod - Test of various basic POD features in -translators. +=head2 Pod::Text::Overstrike - Convert POD data to formatted overstrike +text =over 4 -=item HEADINGS - -=item This C a "level 1" heading - -=over 4 +=item SYNOPSIS -=item ``Level'' "2 I +=item DESCRIPTION -=back +=item BUGS -=item This C a "level 1" heading +=item SEE ALSO -=over 4 +=item AUTHOR -=item ``Level'' 2 I +=item COPYRIGHT AND LICENSE =back -=item LINKS - -=item OVER AND ITEMS - -This is a test, a, b, a, b, c, d, "foo", B, C, Some longer item -text - -=item FORMATTING CODES +=head2 Pod::Text::Termcap - Convert POD data to ASCII text with format +escapes -E, E, E, E, E, E +=over 4 -=item VERBATIM +=item SYNOPSIS -=item CONCLUSION +=item DESCRIPTION -=back +=item NOTES -=head2 Pod::t::htmlescp, Escape Sequences Test +=item SEE ALSO -=over 4 +=item AUTHOR -=item DESCRIPTION +=item COPYRIGHT AND LICENSE =back -=head2 Pod::t::htmlview, Test HTML Rendering +=head2 Pod::Usage, pod2usage() - print a usage message from embedded pod +documentation =over 4 =item SYNOPSIS -=item DESCRIPTION +=item ARGUMENTS -=item METHODS =E OTHER STUFF +C<-message>, C<-msg>, C<-exitval>, C<-verbose>, C<-section>, C<-output>, +C<-input>, C<-pathlist> -=over 4 +=item DESCRIPTION -=item new() +=item EXAMPLES -foo, bar, baz, C Cat, Sat S the>, MatE!E, 1 Cat, 2 -Sat, 3 Mat +=over 4 -=item old() +=item Recommended Use =back -=item TESTING FOR AND BEGIN +=item CAVEATS -=item TESTING URLs hyperlinking +=item AUTHOR -=item SEE ALSO +=item ACKNOWLEDGEMENTS =back @@ -17813,8 +20804,9 @@ Memory, CPU, Snooping, Signals, State Changes =item DESCRIPTION -blessed EXPR, dualvar NUM, STRING, isweak EXPR, openhandle FH, reftype -EXPR, tainted EXPR, weaken REF +blessed EXPR, dualvar NUM, STRING, isvstring EXPR, isweak EXPR, +looks_like_number EXPR, openhandle FH, refaddr EXPR, reftype EXPR, +set_prototype CODEREF, PROTOTYPE, tainted EXPR, weaken REF =item KNOWN BUGS @@ -17882,10 +20874,16 @@ EXPR, tainted EXPR, weaken REF =over 4 -=item OBJECT ORIENTED SYNTAX +=item Caveats + +=item Escaping Magic Characters + +=item Configuration =back +=item BUGS + =item AUTHOR =back @@ -17923,6 +20921,8 @@ SOCKADDR_UN, pack_sockaddr_un PATH, unpack_sockaddr_un SOCKADDR_UN =item CANONICAL REPRESENTATION +=item CODE REFERENCES + =item FORWARD COMPATIBILITY utf8 data, restricted hashes, files from future versions of Storable @@ -17936,7 +20936,7 @@ utf8 data, restricted hashes, files from future versions of Storable =item Hooks C I, I, C I, I, -I, .. +I, .., C I, I, I =item Predicates @@ -18001,7 +21001,7 @@ C =item BUGS -=item LIMITATION +=item LIMITATIONS =item COPYRIGHT @@ -18015,6 +21015,8 @@ C =item DESCRIPTION +=item BUGS + =back =head2 Sys::Hostname - Try every conceivable way to get hostname @@ -18097,7 +21099,7 @@ ANSI_COLORS_DISABLED =item AUTHORS -=item LICENSE +=item COPYRIGHT AND LICENSE =back @@ -18157,8 +21159,8 @@ EtabE, ^D, ^U, EdelE, EbsE =back -=head2 Term::ReadLine - Perl interface to various C packages. If -no real package is found, substitutes stubs instead of basic functions. +=head2 Term::ReadLine - Perl interface to various C packages. +If no real package is found, substitutes stubs instead of basic functions. =over 4 @@ -18168,8 +21170,8 @@ no real package is found, substitutes stubs instead of basic functions. =item Minimal set of supported functions -C, C, C, C, C, $C, -C, C, Attribs, C +C, C, C, C, C, C, C, +C, Attribs, C =item Additional supported functions @@ -18191,11 +21193,14 @@ C, C, C =item DESCRIPTION +=item QUICK START GUIDE + =over 4 =item Functions -B +C, C I>, C [I<1,5,14>]>, +C sub { ... }>, C \&some_sub> =back @@ -18203,7 +21208,9 @@ B B<_to_value> -B +C + +C, I)> =over 4 @@ -18215,6 +21222,8 @@ NORMAL TESTS, SKIPPED TESTS, TODO TESTS =item BUGS and CAVEATS +=item ENVIRONMENT + =item NOTE =item SEE ALSO @@ -18241,6 +21250,10 @@ B =back +B + +B + =over 4 =item Setting up tests @@ -18255,271 +21268,460 @@ B B +B + B =over 4 -=item Running tests +=item Running tests + +B + +=back + +B, B + +B, B + +B, B + +B + +B + +B + +B + +B + +B + +=over 4 + +=item Test style + +B + +=back + +B + +B, B + +=over 4 + +=item Output + +B + +=back + +B<_print> + +B<_print_diag> + +B, B, B + +=over 4 + +=item Test Status and Info + +B + +=back + +B + +B
+ +B + +B + +B<_sanity_check> + +B<_whoa> + +B<_my_exit> + +=over 4 + +=item EXIT CODES + +=item THREADS + +=item EXAMPLES + +=item SEE ALSO + +=item AUTHORS + +=item COPYRIGHT + +=back + +=head2 Test::Harness - Run Perl standard test scripts with statistics + +=over 4 + +=item VERSION + +=back + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item Taint mode + +=item Configuration variables. + +C<$Test::Harness::Verbose>, C<$Test::Harness::switches>, +C<$Test::Harness::Timer> + +=item Failure + +B, B, B, B, B, B, B + +=item Functions + +B + +=back + +=back + +B<_all_ok> + +B<_globdir> + +B<_run_all_tests> + +B<_mk_leader> + +B<_leader_width> + +=over 4 + +=item EXPORT + +=item DIAGNOSTICS + +C, C, C, C, C, C + +=item ENVIRONMENT VARIABLES THAT TEST::HARNESS SETS + +C, C + +=item ENVIRONMENT VARIABLES THAT AFFECT TEST::HARNESS + +C, C, C, +C, C, C, +C, C, C + +=item EXAMPLE + +=item SEE ALSO + +=item TODO + +=item BUGS + +=item AUTHORS + +=item COPYRIGHT + +=back + +=head2 Test::Harness::Assert - simple assert + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item FUNCTIONS + +=over 4 + +=item C + +=back + +=back + +=over 4 + +=item AUTHOR + +=item SEE ALSO + +=back + +=head2 Test::Harness::Iterator - Internal Test::Harness Iterator + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=over 4 + +=item new() -B +=item next() =back -B, B +=back -B, B +=head2 Test::Harness::Point - object for tracking a single test point -B, B +=over 4 -B +=item SYNOPSIS -B +=item CONSTRUCTION -B +=over 4 -B +=item new() -B +=back -B +=back =over 4 -=item Test style - -B +=item from_test_line( $line ) =back -B - -B, B - =over 4 -=item Output +=item ACCESSORS -B +ok, number =back -B<_print> - -B, B, B +=head2 Test::Harness::Straps - detailed analysis of test results =over 4 -=item Test Status and Info +=item SYNOPSIS -B +=item DESCRIPTION -=back +=item CONSTRUCTION -B +=over 4 -B
I, B +=item new() -B +=back -B<_sanity_check> +=back -B<_whoa> +=over 4 -B<_my_exit> +=item $strap->_init -=over 4 +=back -=item EXAMPLES +=over 4 -=item SEE ALSO +=item ANALYSIS -=item AUTHORS +=over 4 -=item COPYRIGHT +=item $strap->analyze( $name, \@output_lines ) =back -=head2 Test::Harness - run perl standard test scripts with statistics +=back =over 4 -=item SYNOPSIS +=item $strap->analyze_fh( $name, $test_filehandle ) -=item DESCRIPTION +=back =over 4 -=item The test script output +=item $strap->analyze_file( $test_file ) + +=back -B<'1..M'>, B<'ok', 'not ok'. Ok?>, B, B, -B, B, B, B, B +=over 4 -=item Taint mode +=item $strap->_command_line( $file ) -=item Configuration variables. +=back -B<$Test::Harness::verbose>, B<$Test::Harness::switches> +=over 4 -=item Failure +=item $strap->_command() -B, B, B, B, B, B, B +=back -=item Functions +=over 4 -B +=item $strap->_switches( $file ) =back -=back +=over 4 -B<_all_ok> +=item $strap->_cleaned_switches( @switches_from_user ) -B<_globdir> +=back -B<_run_all_tests> +=over 4 -B<_mk_leader> +=item $strap->_INC2PERL5LIB -B<_leader_width> +=back =over 4 -=item EXPORT - -=item DIAGNOSTICS +=item $strap->_filtered_INC() -C, C, C, C, C, C +=back -=item ENVIRONMENT +=over 4 -C, C, C, -C, C, C, -C, C +=item $strap->_restore_PERL5LIB() -=item EXAMPLE +=back -=item SEE ALSO +=over 4 -=item AUTHORS +=item Parsing -=item TODO +=over 4 -=item BUGS +=item C<_is_diagnostic> =back -=head2 Test::Harness::Assert - simple assert +=back =over 4 -=item SYNOPSIS +=item C<_is_header> -=item DESCRIPTION +=back =over 4 -=item Functions - -B +=item C<_is_bail_out> =back +=over 4 + +=item C<_reset_file_state> + =back =over 4 +=item Results + +=item EXAMPLES + =item AUTHOR =item SEE ALSO =back -=head2 Test::Harness::Iterator - Internal Test::Harness Iterator +=head2 Test::Harness::TAP - Documentation for the TAP format =over 4 =item SYNOPSIS -=item DESCRIPTION - -=back - -=head2 Test::Harness::Straps - detailed analysis of test results +=item TODO -=over 4 +=item THE TAP FORMAT -=item SYNOPSIS +=item HARNESS BEHAVIOR -=item DESCRIPTION +=item TESTS LINES AND THE PLAN =over 4 -=item Construction +=item The plan -B +=item The test line -=back +C or C, Test number, Description, Directive, ok/not ok +(required), Test number (recommended), Description (recommended), Directive +(only when necessary) =back -B<_init> +=item DIRECTIVES =over 4 -=item Analysis +=item TODO tests -B +=item Skipping tests =back -B - -B +=item OTHER LINES -B<_switches> - -B<_INC2PERL5LIB> +=over 4 -B<_filtered_INC> +=item Bail out! -B<_restore_PERL5LIB> +=item Diagnostics -=over 4 +=item Anything else -=item Parsing +=back -B<_is_comment> +=item EXAMPLES -=back +=over 4 -B<_is_header> +=item Common with explanation -B<_is_test> +=item Unknown amount and failures -B<_is_bail_out> +=item Giving up -B<_reset_file_state> +=item Skipping a few -=over 4 +=item Skipping everything -=item Results +=item Got spare tuits? -B<_detailize> +=item Creative liberties =back -=over 4 - -=item EXAMPLES +=item AUTHORS -=item AUTHOR +=item ACKNOWLEDGEMENTS -=item SEE ALSO +=item COPYRIGHT =back @@ -18591,16 +21793,24 @@ B B, B +When do I use SKIP vs. TODO? + =over 4 -=item Comparison functions +=item Complex data structures B =back +=over 4 + +=item Discouraged comparison functions + B +=back + B B @@ -18615,12 +21825,11 @@ B =over 4 -=item NOTES +=item EXIT CODES -=item BUGS and CAVEATS +=item CAVEATS and NOTES -Making your own ok(), The eq_* family has some caveats, Test::Harness -upgrades +Backwards compatibility, Overloaded objects, Threads, Test::Harness upgrade =item HISTORY @@ -18628,6 +21837,8 @@ upgrades =item AUTHORS +=item BUGS + =item COPYRIGHT =back @@ -18737,6 +21948,10 @@ L =item C +=item C + +[0], [1], [2] + =item C C $listref>, C $listref>, C $str>, @@ -18847,7 +22062,7 @@ unexpand(1) =back -=head2 Thread - manipulate threads in Perl +=head2 Thread - manipulate threads in Perl (for old code only) =over 4 @@ -18904,9 +22119,12 @@ new, new NUMBER, down, down NUMBER, up, up NUMBER =back =head2 Thread::Signal - Start a thread which runs signal handlers reliably +(for old code) =over 4 +=item CAVEAT + =item SYNOPSIS =item DESCRIPTION @@ -18978,6 +22196,8 @@ SHIFT this, UNSHIFT this, LIST, SPLICE this, offset, length, LIST =item C, C, C, and C +=item C + =back =item Tying to an already-opened filehandle @@ -18990,6 +22210,8 @@ SHIFT this, UNSHIFT this, LIST, SPLICE this, offset, length, LIST =back +=item CONCURRENT ACCESS TO FILES + =item CAVEATS =item SUBCLASSING @@ -19038,13 +22260,14 @@ tied hashes =item DESCRIPTION TIEHASH classname, LIST, STORE this, key, value, FETCH this, key, FIRSTKEY -this, NEXTKEY this, lastkey, EXISTS this, key, DELETE this, key, CLEAR this +this, NEXTKEY this, lastkey, EXISTS this, key, DELETE this, key, CLEAR +this, SCALAR this =item Inheriting from B =item Inheriting from B -=item C and C +=item C, C and C =item MORE INFORMATION @@ -19122,22 +22345,33 @@ timers =item DESCRIPTION -gettimeofday (), usleep ( $useconds ), ualarm ( $useconds [, -$interval_useconds ] ), tv_interval, time (), sleep ( $floating_seconds ), -alarm ( $floating_seconds [, $interval_floating_seconds ] ), setitimer, -getitimer ( $which ) +gettimeofday (), usleep ( $useconds ), nanosleep ( $nanoseconds ), ualarm ( +$useconds [, $interval_useconds ] ), tv_interval, time (), sleep ( +$floating_seconds ), alarm ( $floating_seconds [, +$interval_floating_seconds ] ), setitimer ( $which, $floating_seconds [, +$interval_floating_seconds ] ), getitimer ( $which ) =item EXAMPLES =item C API +=item DIAGNOSTICS + +=over 4 + +=item negative time not invented yet + +=item internal error: useconds < 0 (unsigned ... signed ...) + +=back + =item CAVEATS -=item AUTHORS +=item SEE ALSO -=item REVISION +=item AUTHORS -=item COPYRIGHT +=item COPYRIGHT AND LICENSE =back @@ -19149,10 +22383,24 @@ getitimer ( $which ) =item DESCRIPTION +=over 4 + +=item Ambiguous Local Times (DST) + +=item Non-Existent Local Times (DST) + +=item Negative Epoch Values + +=back + =item IMPLEMENTATION =item BUGS +=item SUPPORT + +=item AUTHOR + =back =head2 Time::gmtime - by-name interface to Perl's built-in gmtime() @@ -19205,8 +22453,11 @@ function =item DESCRIPTION -$obj->isa( TYPE ), CLASS->isa( TYPE ), isa( VAL, TYPE ), $obj->can( METHOD -), CLASS->can( METHOD ), can( VAL, METHOD ), VERSION ( [ REQUIRE ] ) +C<< $obj->isa( TYPE ) >>, C<< CLASS->isa( TYPE ) >>, C, +C, C<$obj>, C, C, C<< $obj->can( METHOD ) >>, C<< +CLASS->can( METHOD ) >>, C, C + +=item EXPORTS =back @@ -19222,9 +22473,10 @@ $obj->isa( TYPE ), CLASS->isa( TYPE ), isa( VAL, TYPE ), $obj->can( METHOD =item Constructor and Tailoring -alternate, backwards, entry, ignoreName, ignoreChar, level, normalization, -overrideCJK, overrideHangul, preprocess, rearrange, table, undefName, -undefChar, katakana_before_hiragana, upper_before_lower +UCA_Version, alternate, backwards, entry, hangul_terminator, ignoreChar, +ignoreName, katakana_before_hiragana, level, normalization, overrideCJK, +overrideHangul, preprocess, rearrange, table, undefChar, undefName, +upper_before_lower, variable =item Methods for Collation @@ -19234,32 +22486,40 @@ C<$result = $Collator-Ene($a, $b)>, C<$result = $Collator-Elt($a, $b)>, C<$result = $Collator-Ele($a, $b)>, C<$result = $Collator-Egt($a, $b)>, C<$result = $Collator-Ege($a, $b)>, C<$sortKey = $Collator-EgetSortKey($string)>, C<$sortKeyForm = -$Collator-EviewSortKey($string)>, C<$position = -$Collator-Eindex($string, $substring)>, C<($position, $length) = -$Collator-Eindex($string, $substring)> +$Collator-EviewSortKey($string)> + +=item Methods for Searching + +C<$position = $Collator-Eindex($string, $substring[, $position])>, +C<($position, $length) = $Collator-Eindex($string, $substring[, +$position])>, C<$match_ref = $Collator-Ematch($string, $substring)>, +C<($match) = $Collator-Ematch($string, $substring)>, C<@match = +$Collator-Egmatch($string, $substring)>, C<$count = +$Collator-Esubst($string, $substring, $replacement)>, C<$count = +$Collator-Egsubst($string, $substring, $replacement)> =item Other Methods -UCA_Version, Base_Unicode_Version +C<%old_tailoring = $Collator-Echange(%new_tailoring)>, C<$version = +$Collator-Eversion()>, C, C -=item EXPORT +=back -=item TODO +=item EXPORT -=item CAVEAT +=item INSTALL -=item BUGS +=item CAVEATS -=back +Normalization, Conformance Test -=item AUTHOR +=item AUTHOR, COPYRIGHT AND LICENSE =item SEE ALSO -http://www.unicode.org/unicode/reports/tr10/, -http://www.unicode.org/unicode/reports/tr10/allkeys.txt, -http://www.unicode.org/unicode/reports/tr15/, -http://www.unicode.org/unicode/reports/tr18, L +Unicode Collation Algorithm - UTS #10, The Default Unicode Collation +Element Table (DUCET), The conformance test for the UCA, Hangul Syllable +Type, Unicode Normalization Forms - UAX #15 =back @@ -19277,6 +22537,7 @@ http://www.unicode.org/unicode/reports/tr18, L C<$NFD_string = NFD($string)>, C<$NFC_string = NFC($string)>, C<$NFKD_string = NFKD($string)>, C<$NFKC_string = NFKC($string)>, +C<$FCD_string = FCD($string)>, C<$FCC_string = FCC($string)>, C<$normalized_string = normalize($form_name, $string)> =item Decomposition and Composition @@ -19289,6 +22550,7 @@ reorder($string)>, C<$composed_string = compose($string)> C<$result = checkNFD($string)>, C<$result = checkNFC($string)>, C<$result = checkNFKD($string)>, C<$result = checkNFKC($string)>, C<$result = +checkFCD($string)>, C<$result = checkFCC($string)>, C<$result = check($form_name, $string)> =item Character Data @@ -19298,19 +22560,26 @@ C<$compatibility_decomposed = getCompat($codepoint)>, C<$codepoint_composite = getComposite($codepoint_here, $codepoint_next)>, C<$combining_class = getCombinClass($codepoint)>, C<$is_exclusion = isExclusion($codepoint)>, C<$is_singleton = isSingleton($codepoint)>, -C<$is_non_startar_decomposition = isNonStDecomp($codepoint)>, +C<$is_non_starter_decomposition = isNonStDecomp($codepoint)>, C<$may_be_composed_with_prev_char = isComp2nd($codepoint)> +=back + =item EXPORT -=back +=item CAVEATS + +Perl's version vs. Unicode version, Correction of decomposition mapping, +Revised definition of canonical composition =item AUTHOR =item SEE ALSO -http://www.unicode.org/unicode/reports/tr15/, -http://www.unicode.org/Public/UNIDATA/DerivedNormalizationProps.txt +http://www.unicode.org/reports/tr15/, +http://www.unicode.org/Public/UNIDATA/DerivedNormalizationProps.txt, +http://www.unicode.org/Public/UNIDATA/NormalizationCorrections.txt, +http://www.unicode.org/review/pr-29.html, http://www.unicode.org/notes/tn5/ =back @@ -19386,6 +22655,12 @@ http://www.unicode.org/Public/UNIDATA/DerivedNormalizationProps.txt =over 4 +=item namedseq() + +=back + +=over 4 + =item Unicode::UCD::UnicodeVersion =back @@ -19444,39 +22719,7 @@ March 18th, 2000 =back -=head2 Win32 - Interfaces to some Win32 API Functions - -=over 4 - -=item DESCRIPTION - -=over 4 - -=item Alphabetical Listing of Win32 Functions - -Win32::AbortSystemShutdown(MACHINE), Win32::BuildNumber(), -Win32::CopyFile(FROM, TO, OVERWRITE), Win32::DomainName(), -Win32::ExpandEnvironmentStrings(STRING), Win32::FormatMessage(ERRORCODE), -Win32::FsType(), Win32::FreeLibrary(HANDLE), Win32::GetArchName(), -Win32::GetChipName(), Win32::GetCwd(), Win32::GetFullPathName(FILENAME), -Win32::GetLastError(), Win32::GetLongPathName(PATHNAME), -Win32::GetNextAvailDrive(), Win32::GetOSVersion(), -Win32::GetShortPathName(PATHNAME), Win32::GetProcAddress(INSTANCE, -PROCNAME), Win32::GetTickCount(), Win32::InitiateSystemShutdown, -Win32::IsWinNT(), Win32::IsWin95(), Win32::LoadLibrary(LIBNAME), -Win32::LoginName(), Win32::LookupAccountName(SYSTEM, ACCOUNT, DOMAIN, SID, -SIDTYPE), Win32::LookupAccountSID(SYSTEM, SID, ACCOUNT, DOMAIN, SIDTYPE), -Win32::MsgBox(MESSAGE [, FLAGS [, TITLE]]), Win32::NodeName(), -Win32::RegisterServer(LIBRARYNAME), Win32::SetChildShowWindow(SHOWWINDOW), -Win32::SetCwd(NEWDIRECTORY), Win32::SetLastError(ERROR), -Win32::Sleep(TIME), Win32::Spawn(COMMAND, ARGS, PID), -Win32::UnregisterServer(LIBRARYNAME) - -=back - -=back - -=head2 XS::Typemap - module to test the XS typemaps distributed with perl +=head2 XSLoader - Dynamically load C libraries into Perl code =over 4 @@ -19484,23 +22727,23 @@ Win32::UnregisterServer(LIBRARYNAME) =item DESCRIPTION -=back - =over 4 -=item NOTES +=item Migration from C -=item AUTHOR +=item Backward compatible boilerplate =back -=head2 XSLoader - Dynamically load C libraries into Perl code +=item Order of initialization: early load() =over 4 -=item SYNOPSIS +=item The most hairy case -=item DESCRIPTION +=back + +=item LIMITATIONS =item AUTHOR @@ -19515,21 +22758,29 @@ don't all have manual pages yet: =item a2p -=item s2p +=item c2ph -=item find2perl +=item dprofpp =item h2ph -=item c2ph - =item h2xs -=item xsubpp +=item perlbug + +=item perldoc + +=item pl2pm + +=item pod2html =item pod2man -=item wrapsuid +=item s2p + +=item splain + +=item xsubpp =back