Book description
Perl in a Nutshell is a comprehensive reference guide to the Perl programming language. This book covers all the core features of the language. It ranges widely through the Perl programmer's universe, gathering together in convenient form a wealth of information about Perl itself and its application to CGI scripts, network programming, database interaction, and graphical user interfaces. It also gives detailed coverage about using Perl within a Win32 environment. This book assembles more information about the language in one place than any other reference work. Here are just some of the topics covered in the book:
Basic language reference
Introduction to using Perl modules
Perl and CGI: CGI basics, CGI.pm, mod_perl
DBI, the database-independent API for Perl
Sockets programming in Perl
LWP, the library for World Wide Web programming in Perl
The Net::* modules
As part of the successful "in a Nutshell" series of books from O'Reilly & Associates, Perl in a Nutshell is for readers who want a single reference for all their needs.
Table of contents
-
Perl in a Nutshell
- Preface
- I. Getting Started
-
II. Language Basics
- 3. The Perl Interpreter
-
4. The Perl Language
- Program Structure
- Data Types and Variables
- Statements
- Special Variables
- Operators
- Regular Expressions
- Subroutines
- References and Complex Data Structures
- Filehandles
- Formats
- Pod
-
5. Function Reference
- Perl Functions by Category
-
Perl Functions in Alphabetical Order
- abs
- accept
- alarm
- atan2
- bind
- binmode
- bless
- caller
- chdir
- chmod
- chomp
- chop
- chown
- chr
- chroot
- close
- closedir
- connect
- cos
- crypt
- dbmclose
- dbmopen
- defined
- delete
- die
- do
- dump
- each
- endgrent
- endhostent
- endnetent
- endprotoent
- endpwent
- endservent
- eof
- eval
- exec
- exists
- exit
- exp
- fcntl
- fileno
- flock
- fork
- formline
- getc
- getgrent
- getgrgid
- getgrnam
- gethostbyaddr
- gethostbyname
- gethostent
- getlogin
- getnetbyaddr
- getnetbyname
- getnetent
- getpeername
- getpgrp
- getppid
- getpriority
- getprotobyname
- getprotobynumber
- getprotoent
- getpwent
- getpwnam
- getpwuid
- getservbyname
- getservbyport
- getservent
- getsockname
- getsockopt
- glob
- gmtime
- goto
- grep
- hex
- index
- int
- ioctl
- join
- keys
- kill
- last
- lc
- lcfirst
- length
- link
- listen
- local
- localtime
- log
- lstat
- map
- mkdir
- msgctl
- msgget
- msgrcv
- msgsnd
- my
- next
- no
- oct
- open
- opendir
- ord
- pack
- package
- pipe
- pop
- pos
- printf
- prototype
- push
- q/string/
- quotemeta
- rand
- read
- readdir
- readline
- readlink
- readpipe
- recv
- redo
- ref
- rename
- require
- reset
- return
- reverse
- rewinddir
- rindex
- rmdir
- scalar
- seek
- seekdir
- select
- select
- semctl
- semget
- semop
- send
- sethostent
- setgrent
- setnetent
- setpgrp
- setpriority
- setprotoent
- setpwent
- setservent
- setsockopt
- shift
- shmctl
- shmget
- shmread
- shmwrite
- shutdown
- sin
- sleep
- socket
- socketpair
- sort
- splice
- split
- sprintf
- sqrt
- srand
- stat
- study
- sub
- substr
- symlink
- syscall
- sysopen
- sysread
- sysseek
- system
- syswrite
- tell
- telldir
- tie
- tied
- time
- times
- truncate
- uc
- ucfirst
- umask
- undef
- unlink
- unpack
- unshift
- untie
- use
- utime
- values
- vec
- wait
- waitpid
- wantarray
- warn
- write
- 6. Debugging
-
III. Modules
- 7. Packages, Modules, and Objects
-
8. Standard Modules
- AnyDBM_File
- attrs
- AutoLoader
- AutoSplit
- autouse
- B
- B::Asmdata
- B::Assembler
- B::Bblock
- B::Bytecode
- B::C
- B::CC
- B::Debug
- B::Deparse
- B::Disassembler
- B::Lint
- B::Showlex
- B::Stackobj
- B::Terse
- B::Xref
- base
- Benchmark
- blib
- Carp
- CGI
- CGI::Apache
- CGI::Carp
- CGI::Cookie
- CGI::Fast
- CGI::Push
- CGI::Switch
- Class::Struct
- Config
- constant
- CPAN
- CPAN::FirstTime
- CPAN::Nox
- Cwd
- Data::Dumper
- DB_File
- Devel::SelfStubber
- diagnostics
- DirHandle
- DynaLoader
- English
- Env
- Errno
- Exporter
- ExtUtils::Command
- ExtUtils::Embed
- ExtUtils::Install
- ExtUtils::Installed
- ExtUtils::Liblist
- ExtUtils::MakeMaker
- ExtUtils::Manifest
- ExtUtils::Miniperl
- ExtUtils::Mkbootstrap
- ExtUtils::Mksymlists
- ExtUtils::MM_OS2
-
ExtUtils::MM_Unix
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Methods to Produce the Makefile
- ExtUtils::MM_VMS
- ExtUtils::MM_Win32
- ExtUtils::Packlist
- ExtUtils::testlib
- Fatal
- Fcntl
- fields
- File::Basename
- File::CheckTree
- File::Compare
- File::Copy
- File::DosGlob
- File::Find
- File::Path
- File::Spec
- File::Spec::Mac
- File::Spec::OS2
- File::Spec::Unix
- File::Spec::VMS
- File::Spec::Win32
- File::stat
- FileCache
- FileHandle
- FindBin
- GDBM_File
- Getopt::Long
- Getopt::Std
- I18N::Collate
- integer
- IO
- IO::File
- IO::Handle
- IO::Pipe
- IO::Seekable
- IO::Select
- IO::Socket
- IPC::Msg
- IPC::Open2
- IPC::Open3
- IPC::Semaphore
- IPC::SysV
- less
- lib
- locale
- Math::BigFloat
- Math::BigInt
- Math::Complex
- Math::Trig
- NDBM_File
- Net::hostent
- Net::netent
- Net::Ping
- Net::protoent
- Net::servent
- O
- ODBM_File
- Opcode
- ops
- overload
- Pod::Functions
- Pod::Html
- Pod::Text
- POSIX
- re
- Safe
- SDBM_File
- Search::Dict
- SelectSaver
- SelfLoader
- Shell
- sigtrap
- Socket
- strict
- subs
- Symbol
- Sys::Hostname
- Sys::Syslog
- Term::Cap
- Term::Complete
- Term::ReadLine
- Test
- Test::Harness
- Text::Abbrev
- Text::ParseWords
- Text::Soundex
- Text::Tabs
- Text::Wrap
- Thread
- Thread::Queue
- Thread::Semaphore
- Thread::Signal
- Thread::Specific
- Tie::Array, Tie::StdArray
- Tie::Handle
- Tie::Hash, Tie::StdHash
- Tie::RefHash
- Tie::Scalar, Tie::StdScalar
- Tie::SubstrHash
- Time::gmtime
- Time::Local
- Time::localtime
- Time::tm
- UNIVERSAL
- User::grent
- User::pwent
- vars
- vmsish
-
IV. CGI
- 9. CGI Overview
-
10. The CGI.pm Module
- HTML Tag Generation
- Importing Method Groups
- Maintaining State
- Named Parameters
- Using JavaScript Features
- Debugging
-
CGI.pm Reference
- accept
- append
- auth_type
- autoEscape
- button
- checkbox
- checkbox_group
- cookie
- defaults
- delete
- delete_all
- dump
- end_html
- filefield
- header
- hidden
- image_button
- import_names
- isindex
- keywords
- nph
- param
- password_field
- path_info
- path_translated
- popup_menu
- radio_group
- raw_cookie
- ReadParse
- redirect
- referer
- remote_host
- remote_user
- request_method
- reset
- save
- script_name
- scrolling_list
- self_url
- start_html
- startform
- start_multipart_form
- submit
- textarea
- textfield
- url
- use_named_parameters
- user_agent
- user_name
- 11. Web Server Programming with mod_perl
- V. Databases
-
VI. Network Programming
- 13. Sockets
-
14. Email Connectivity
- The Net Modules
-
The Mail Modules
- Send Email with Mail::Mailer
- Better Header Control with Mail::Send
-
Handle Folders with Mail::Folder
- new
- add_label
- append_message
- clear_label
- close
- current_message
- debug
- debug_print
- delete_label
- delete_message
- dup
- first_labeled_message
- first_message
- foldername
- get_fields
- get_header
- get_message
- get_message_file
- get_mime_header
- get_mime_message
- get_option
- inverse_select
- is_readonly
- label_exists
- last_labeled_message
- last_message
- list_all_labels
- list_labels
- message_exists
- message_list
- next_labeled_message
- next_message
- open
- pack
- prev_labeled_message
- prev_message
- qty
- refile
- select
- select_label
- set_option
- set_readonly
- sort
- sync
- undelete_message
- update_message
- Handle Messages with Mail::Internet
- Mail::Internet Reference
- Parse Email Addresses with Mail::Address
- Mail::Address Reference
- Reading Email with Mail::POP3Client
- Mail::POP3Client Methods
- 15. Usenet News
- 16. FTP
-
17. The LWP Library
- LWP Overview
- The LWP Modules
- The HTTP Modules
- The HTML Module
- The URI Module
-
VII. Perl/Tk
-
18. Perl/Tk
- Widgets
- Geometry Managers
- Common Widget Configuration Options
- The Button Widget
- The Checkbutton Widget
- The Radiobutton Widget
- The Label Widget
- The Entry Widget
- The Scrollbar Widget
- The Listbox Widget
- The Text Widget
- The Canvas Widget
- The Scale Widget
- The Menubutton Widget
- The Menu Widget
- The Optionmenu Widget
- The Frame Widget
- The Toplevel Widget
-
18. Perl/Tk
-
VIII. Win32
-
19. Win32 Modules and Extensions
- Win32::Clipboard
-
Win32::Console
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Constants
- Win32::ChangeNotification
- Win32::Eventlog
- Win32::File
- Win32::FileSecurity
-
Win32::Internet
-
General Internet Methods
- CanonicalizeURL
- Close
- CombineURL
- ConnectBackoff
- ConnectionRetries
- ConnectTimeout
- ControlReceiveTimeout
- ControlSendTimeout
- CrackURL
- CreateURL
- DataReceiveTimeout
- DataSendTimeout
- Error
- FetchURL
- FTP
- GetResponse
- GetStatusCallback
- HTTP
- OpenURL
- Password
- QueryDataAvailable
- QueryOption
- ReadEntireFile
- ReadFile
- SetOption
- SetStatusCallback
- TimeConvert
- UserAgent
- Username
- Version
- FTP Functions
- HTTP Functions
-
General Internet Methods
- Win32::IPC
- Win32::Mutex
-
Win32::NetAdmin
- GetDomainController
- UserCreate
- UserDelete
- UserGetAttributes
- UserSetAttributes
- GroupCreate
- GroupDelete
- GroupGetAttributes
- GroupSetAttributes
- GroupAddUsers
- GroupDeleteUsers
- GroupIsMember
- GroupGetMembers
- LocalGroupCreate
- LocalGroupDelete
- LocalGroupGetAttributes
- LocalGroupSetAttributes
- LocalGroupAddUsers
- LocalGroupDeleteUsers
- LocalGroupIsMember
- LocalGroupGetMembers
- Win32::NetResource
- Win32::Process
- Win32::Registry
- Win32::Semaphore
- Win32::Service
- Win32::Shortcut
- Win32 Extensions
- OLE Automation
- 20. PerlScript
-
19. Win32 Modules and Extensions
- Index
- Colophon
Product information
- Title: Perl in a Nutshell
- Author(s):
- Release date: December 1998
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565922860
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
video
How Slack rearchitected its system to achieve zero downtime and improve latency, reliability and availability
In 2016, Slack faced a problem: the load on its backend servers had increased by 1,000x. …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
video
Learn Flutter and Dart to Build iOS and Android Apps (2023)
What makes Flutter the best framework to build mobile apps? With Flutter, you can build mobile …