Perl Cookbook, Second Edition

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

-p command-line option

    modifying files with 

    writing filters 

pack( )  2nd 

    with Tk resize events 

package statement 

__PACKAGE__ symbol  2nd 

packages 

    determining current calling 

    overriding built-in functions 

    private variables 

    referring to indirectly 

paragraphs

    counting in files 

    in pod documentation 

    reading files backwards by 

    reformatting 

param( ) 

parent classes

    accessing overridden methods 

    cloning objects 

parentheses ( ) 

    autouse pragma 

    prototyping functions 

    substitution 

parse( ), HTML tables, extracting data 

parse_csv subroutines 

ParseDate( )  2nd 

parsing

    comma-separated data 

    command-line arguments 

    commas into numbers 

    date and time from strings 

    filenames 

    HTML 

    HTML tags 

    web server log file 

    XML

        into data structures 

        into DOM tree 

        into SAX events 

passing

    arrays and hashes by reference 

    by named parameter 

passwords

    randomly generating 

    reading without echo  2nd 

paths, XML 

pattern matching  [See regular expressions]

pattern separators, reading data with 

PDL (Perl Data Language) 

    modules, matrix multiplication 

percent sign (%)

    %SIG hash 

    hashes 

performance

    backreferences and 

    database access, speeding with mod_perl 

    event-based XML parsing 

    presizing hashes 

    web server, improving 

Perl Data Language  [See PDL]

PERL_UNICODE environment variable 

PERL5LIB environment variable 

perlmenu module 

permissions

    CGI scripts 

    libraries 

    symbolic file, instead of octal values 

    testing files for trustworthiness 

permutations, generating all possible 

permute program 

persistent

    data structures 

    database data 

    private subroutine variables 

personal identification number (PIN) 

PF_ constants 

.ph filename extension 

PHP, communicating with mod_perl 

PIN (personal identification number) 

pinging machines 

pipe( )  2nd 

places( ) 

pluralizing words 

plus sign (+), file-access modes 

.pm filename extension 

pnotes

    Apache requests, sharing information between handlers 

    URLs, storing information in 

pod

    converting into other languages 

    documentation 

        sorting =head1 sections 

pod2html 

pod2man 

pod2text tools 

POE framework, writing multitasking server with 

POE::Component::Server::TCP module 

POP (Post Office Protocol) 

    servers  [See also POP3 servers][See also POP3 servers]

        fetching and summarizing messages 

        logging in 

pop( ), circular lists 

POP3 servers 

port connection attempts, logging 

portability

    closing filehandles 

    encodings in XML 

Portable Operating System Interface  [See POSIX]

pos( ) 

POSIX (Portable Operating System Interface) 

    termios interface 

    time( ) 

POSIX module

    blocking signals 

    today's date 

    trigonometric functions 

POSIX::close( )  2nd 

POSIX::setsid( ) 

POSIX::strtod( ) 

POSIX::uname( ) 

POST method  2nd  3rd 

Post Office Protocol  [See POP]

posting Usenet messages 

pound sign (#), with printf( ) 

pragmas 

preallocating memory for hashes 

prime numbers, calculating 

print( )

    email attachments 

    filehandles

        outputting to multiple 

        storing in variables 

printf( ) 

    floating-point numbers, rounding 

    storing filehandles in variables 

printing

    ; printf( ))  [See also print( )][See also print( )]

    data structures 

    date and time information 

    hashes 

    lists with commas 

    to multiple filehandles simultaneously 

private

    function to variable 

    methods 

    module variables 

    subroutine variables 

processes 

    catching Ctrl-C 

    communicating between 

    controlling input/output 

    creating 

    filtering output 

    gathering output 

    groups  2nd 

    imitating files with named pipes 

    large XML files, processing 

    multitasking servers, writing 

        with POE 

    preprocessing input 

    programs

        reading from and writing to 

        reading STDERR from 

        replacing 

        running multiple 

    recursively processing files in directories 

    sharing variables among 

    signal handlers 

        overriding 

        writing 

    signals 

        blocking 

        listing available 

        sending 

        turning into errors 

    timing out operations 

    XML processing instructions 

    XSLT, processing 

    zombies 

        avoiding 

programs

    CGI  [See CGI programming]

    command-line arguments, parsing 

    controlling input/output of 

    controlling with Expect 

    filtering output 

    gathering output from 

    preprocessing input 

    reading from and writing to 

    reading STDERR from 

    replacing 

    running multiple 

    simulating telnet from 

    testing if running interactively 

progressive matching 

protocols

    Internet 

    socket 

prototypes  2nd 

proxy, submitting forms through 

psgrep program 

public methods 

push( )  2nd 

    circular lists 

    Tie::IxHash module and 

Категории