W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
Perl 5.24 官方文档
Variables
$!
$"
$#
$$
$%
$&
$'
$(
$)
$*
$+
$,
$-
$.
$/
$0
$:
$;
$<
$<digits> ($1, $2, ...)
$=
$>
$?
$@
$a
$ACCUMULATOR
$ARG
$ARGV
$b
$BASETIME
$CHILD_ERROR
$COMPILING
$DEBUGGING
$EFFECTIVE_GROUP_ID
$EFFECTIVE_USER_ID
$EGID
$ERRNO
$EUID
$EVAL_ERROR
$EXCEPTIONS_BEING_CAUGHT
$EXECUTABLE_NAME
$EXTENDED_OS_ERROR
$FORMAT_FORMFEED
$FORMAT_LINES_LEFT
$FORMAT_LINES_PER_PAGE
$FORMAT_LINE_BREAK_CHARACTERS
$FORMAT_NAME
$FORMAT_PAGE_NUMBER
$FORMAT_TOP_NAME
$GID
$INPLACE_EDIT
$INPUT_LINE_NUMBER
$INPUT_RECORD_SEPARATOR
$LAST_PAREN_MATCH
$LAST_REGEXP_CODE_RESULT
$LAST_SUBMATCH_RESULT
$LIST_SEPARATOR
$MATCH
$NR
$OFS
$OLD_PERL_VERSION
$ORS
$OSNAME
$OS_ERROR
$OUTPUT_AUTOFLUSH
$OUTPUT_FIELD_SEPARATOR
$OUTPUT_RECORD_SEPARATOR
$PERLDB
$PERL_VERSION
$PID
$POSTMATCH
$PREMATCH
$PROCESS_ID
$PROGRAM_NAME
$REAL_GROUP_ID
$REAL_USER_ID
$RS
$SUBSCRIPT_SEPARATOR
$SUBSEP
$SYSTEM_FD_MAX
$UID
$WARNING
$[
$\
$]
$^
$^A
$^C
$^D
$^E
$^F
$^H
$^I
$^L
$^M
$^N
$^O
$^P
$^R
$^S
$^T
$^V
$^W
$^X
$_
$`
${^CHILD_ERROR_NATIVE}
${^ENCODING}
${^GLOBAL_PHASE}
${^LAST_FH}
${^MATCH}
${^OPEN}
${^POSTMATCH}
${^PREMATCH}
${^RE_DEBUG_FLAGS}
${^RE_TRIE_MAXBUF}
${^TAINT}
${^UNICODE}
${^UTF8CACHE}
${^UTF8LOCALE}
${^WARNING_BITS}
${^WIN32_SLOPPY_STAT}
$|
$~
%!
%+
%-
%ENV
%ERRNO
%INC
%LAST_MATCH_START
%LAST_PAREN_MATCH
%OS_ERROR
%SIG
%^H
@+
@-
@ARG
@ARGV
@F
@INC
@LAST_MATCH_END
@LAST_MATCH_START
@_
ARGV
ARGVOUT
HANDLE->autoflush( EXPR )
HANDLE->format_lines_left(EXPR)
HANDLE->format_lines_per_page(EXPR)
HANDLE->format_name(EXPR)
HANDLE->format_page_number(EXPR)
HANDLE->format_top_name(EXPR)
HANDLE->input_line_number( EXPR )
IO::Handle->format_formfeed(EXPR)
IO::Handle->format_line_break_characters EXPR
IO::Handle->input_record_separator( EXPR )
IO::Handle->output_field_separator( EXPR )
IO::Handle->output_record_separator( EXPR )
perlvar
Functions
-X
abs
accept
alarm
and
atan2
AUTOLOAD
BEGIN
bind
binmode
bless
break
caller
chdir
CHECK
chmod
chomp
chop
chown
chr
chroot
close
closedir
cmp
connect
continue
cos
crypt
dbmclose
dbmopen
default
defined
delete
DESTROY
die
do
dump
each
else
elseif
elsif
END
endgrent
endhostent
endnetent
endprotoent
endpwent
endservent
eof
eq
eval
evalbytes
exec
exists
exit
exp
fc
fcntl
fileno
flock
for
foreach
fork
format
formline
ge
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
given
glob
gmtime
goto
grep
gt
hex
if
import
index
INIT
int
ioctl
join
keys
kill
last
lc
lcfirst
le
length
link
listen
local
localtime
lock
log
lstat
lt
m
map
mkdir
msgctl
msgget
msgrcv
msgsnd
my
ne
next
no
not
oct
open
opendir
or
ord
our
pack
package
pipe
pop
pos
print
printf
prototype
push
q
qq
qr
quotemeta
qw
qx
rand
read
readdir
readline
readlink
readpipe
recv
redo
ref
rename
require
reset
return
reverse
rewinddir
rindex
rmdir
s
say
scalar
seek
seekdir
select
semctl
semget
semop
send
setgrent
sethostent
setnetent
setpgrp
setpriority
setprotoent
setpwent
setservent
setsockopt
shift
shmctl
shmget
shmread
shmwrite
shutdown
sin
sleep
socket
socketpair
sort
splice
split
sprintf
sqrt
srand
stat
state
study
sub
substr
symlink
syscall
sysopen
sysread
sysseek
system
syswrite
tell
telldir
tie
tied
time
times
tr
truncate
uc
ucfirst
umask
undef
UNITCHECK
unless
unlink
unpack
unshift
untie
until
use
utime
values
vec
wait
waitpid
wantarray
warn
when
while
write
x
xor
y
__DATA__
__END__
__FILE__
__LINE__
__PACKAGE__
__SUB__
Operators
Additive Operators
Assignment Operators
Auto-increment and Auto-decrement
Bigger Numbers
Binding Operators
Bitwise And
Bitwise Or and Exclusive Or
Bitwise String Operators
C Operators Missing From Perl
C-style Logical And
C-style Logical Or
Comma Operator
Conditional Operator
Constant Folding
Equality Operators
Exponentiation
Floating-point Arithmetic
Gory details of parsing quoted constructs
I/O Operators
Integer Arithmetic
List Operators (Rightward)
Logical And
Logical Defined-Or
Logical Not
Logical or and Exclusive Or
Multiplicative Operators
Named Unary Operators
No-ops
Operator Precedence and Associativity
perlop
Quote and Quote-like Operators
Quote-Like Operators
Range Operators
Regexp Quote-Like Operators
Relational Operators
Shift Operators
Smartmatch Operator
Symbolic Unary Operators
Terms and List Operators (Leftward)
The Arrow Operator
Core Modules
AnyDBM_File
App::Prove
App::Prove::State
App::Prove::State::Result
App::Prove::State::Result::Test
Archive::Tar
Archive::Tar::File
Attribute::Handlers
AutoLoader
AutoSplit
B
B::Concise
B::Debug
B::Deparse
B::Showlex
B::Terse
B::Xref
Benchmark
Carp
Class::Struct
Compress::Raw::Bzip2
Compress::Raw::Zlib
Compress::Zlib
Config
Config::Extensions
CPAN
CPAN::Debug
CPAN::Distroprefs
CPAN::FirstTime
CPAN::HandleConfig
CPAN::Kwalify
CPAN::Nox
CPAN::Queue
CPAN::Tarzip
CPAN::Version
Cwd
Data::Dumper
DB
DBM_Filter
DBM_Filter::compress
DBM_Filter::encode
DBM_Filter::int32
DBM_Filter::null
DBM_Filter::utf8
DB_File
Devel::Peek
Devel::PPPort
Devel::SelfStubber
Digest
Digest::base
Digest::file
Digest::MD5
Digest::SHA
DirHandle
Dumpvalue
DynaLoader
Encode
Encode::Alias
Encode::Byte
Encode::CJKConstants
Encode::CN
Encode::CN::HZ
Encode::Config
Encode::EBCDIC
Encode::Encoder
Encode::Encoding
Encode::GSM0338
Encode::Guess
Encode::JP
Encode::JP::H2Z
Encode::JP::JIS7
Encode::KR
Encode::KR::2022_KR
Encode::MIME::Header
Encode::MIME::Name
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::MakeMaker
ExtUtils::MakeMaker::Config
ExtUtils::MakeMaker::FAQ
ExtUtils::MakeMaker::Tutorial
ExtUtils::Manifest
ExtUtils::Miniperl
ExtUtils::Mkbootstrap
ExtUtils::Mksymlists
ExtUtils::MM
ExtUtils::MM_AIX
ExtUtils::MM_Any
ExtUtils::MM_BeOS
ExtUtils::MM_Cygwin
ExtUtils::MM_Darwin
ExtUtils::MM_DOS
ExtUtils::MM_MacOS
ExtUtils::MM_NW5
ExtUtils::MM_OS2
ExtUtils::MM_QNX
ExtUtils::MM_Unix
ExtUtils::MM_UWIN
ExtUtils::MM_VMS
ExtUtils::MM_VOS
ExtUtils::MM_Win32
ExtUtils::MM_Win95
ExtUtils::MY
ExtUtils::Packlist
ExtUtils::ParseXS
ExtUtils::testlib
Fatal
Fcntl
File::Basename
File::Compare
File::Copy
File::DosGlob
File::Fetch
File::Find
File::Glob
File::GlobMapper
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::stat
File::Temp
FileCache
FileHandle
Filter::Simple
Filter::Util::Call
FindBin
Getopt::Long
Getopt::Std
Hash::Util
Hash::Util::FieldHash
I18N::Collate
I18N::Langinfo
I18N::LangTags
I18N::LangTags::Detect
I18N::LangTags::List
IO
IO::Compress::Base
IO::Compress::Bzip2
IO::Compress::Deflate
IO::Compress::Gzip
IO::Compress::RawDeflate
IO::Compress::Zip
IO::Dir
IO::File
IO::Handle
IO::Pipe
IO::Poll
IO::Seekable
IO::Select
IO::Socket
IO::Socket::INET
IO::Socket::UNIX
IO::Uncompress::AnyInflate
IO::Uncompress::AnyUncompress
IO::Uncompress::Base
IO::Uncompress::Bunzip2
IO::Uncompress::Gunzip
IO::Uncompress::Inflate
IO::Uncompress::RawInflate
IO::Uncompress::Unzip
IO::Zlib
IPC::Cmd
IPC::Msg
IPC::Open2
IPC::Open3
IPC::Semaphore
IPC::SharedMem
IPC::SysV
List::Util
List::Util::XS
Locale::Country
Locale::Currency
Locale::Language
Locale::Maketext
Locale::Maketext::Guts
Locale::Maketext::GutsLoader
Locale::Maketext::Simple
Locale::Script
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
MIME::Base64
MIME::QuotedPrint
Module::CoreList
Module::Load
Module::Load::Conditional
Module::Loaded
NDBM_File
Net::Cmd
Net::Config
Net::Domain
Net::FTP
Net::FTP::dataconn
Net::hostent
Net::netent
Net::Netrc
Net::NNTP
Net::Ping
Net::POP3
Net::protoent
Net::servent
Net::SMTP
Net::Time
NEXT
O
Opcode
Params::Check
Parse::CPAN::Meta
PerlIO
PerlIO::encoding
PerlIO::scalar
PerlIO::via
PerlIO::via::QuotedPrint
Pod::Checker
Pod::Escapes
Pod::Find
Pod::Functions
Pod::Html
Pod::InputObjects
Pod::Man
Pod::ParseLink
Pod::Parser
Pod::ParseUtils
Pod::Perldoc
Pod::Perldoc::BaseTo
Pod::Perldoc::GetOptsOO
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::Select
Pod::Simple
Pod::Simple::Checker
Pod::Simple::Debug
Pod::Simple::DumpAsText
Pod::Simple::DumpAsXML
Pod::Simple::HTML
Pod::Simple::HTMLBatch
Pod::Simple::LinkSection
Pod::Simple::Methody
Pod::Simple::PullParser
Pod::Simple::PullParserEndToken
Pod::Simple::PullParserStartToken
Pod::Simple::PullParserTextToken
Pod::Simple::PullParserToken
Pod::Simple::RTF
Pod::Simple::Search
Pod::Simple::SimpleTree
Pod::Simple::Text
Pod::Simple::TextContent
Pod::Simple::XHTML
Pod::Simple::XMLOutStream
Pod::Text
Pod::Text::Color
Pod::Text::Overstrike
Pod::Text::Termcap
Pod::Usage
POSIX
Safe
Scalar::Util
SDBM_File
Search::Dict
SelectSaver
SelfLoader
Socket
Storable
Symbol
Sys::Hostname
Sys::Syslog
TAP::Base
TAP::Formatter::Base
TAP::Formatter::Color
TAP::Formatter::Console
TAP::Formatter::Console::ParallelSession
TAP::Formatter::Console::Session
TAP::Formatter::File
TAP::Formatter::File::Session
TAP::Formatter::Session
TAP::Harness
TAP::Object
TAP::Parser
TAP::Parser::Aggregator
TAP::Parser::Grammar
TAP::Parser::Iterator
TAP::Parser::Iterator::Array
TAP::Parser::Iterator::Process
TAP::Parser::Iterator::Stream
TAP::Parser::IteratorFactory
TAP::Parser::Multiplexer
TAP::Parser::Result
TAP::Parser::Result::Bailout
TAP::Parser::Result::Comment
TAP::Parser::Result::Plan
TAP::Parser::Result::Pragma
TAP::Parser::Result::Test
TAP::Parser::Result::Unknown
TAP::Parser::Result::Version
TAP::Parser::Result::YAML
TAP::Parser::ResultFactory
TAP::Parser::Scheduler
TAP::Parser::Scheduler::Job
TAP::Parser::Scheduler::Spinner
TAP::Parser::Source
TAP::Parser::YAMLish::Reader
TAP::Parser::YAMLish::Writer
Term::ANSIColor
Term::Cap
Term::Complete
Term::ReadLine
Test
Test::Builder
Test::Builder::Module
Test::Builder::Tester
Test::Builder::Tester::Color
Test::Harness
Test::More
Test::Simple
Text::Abbrev
Text::Balanced
Text::ParseWords
Text::Tabs
Text::Wrap
Thread
Thread::Queue
Thread::Semaphore
Tie::Array
Tie::File
Tie::Handle
Tie::Hash
Tie::Hash::NamedCapture
Tie::Memoize
Tie::RefHash
Tie::Scalar
Tie::StdHandle
Tie::SubstrHash
Time::gmtime
Time::HiRes
Time::Local
Time::localtime
Time::Piece
Time::Seconds
Time::tm
Unicode::Collate
Unicode::Normalize
Unicode::UCD
UNIVERSAL
User::grent
User::pwent
XSLoader
Pragmas
attributes
autodie
autouse
base
bigint
bignum
bigrat
blib
bytes
charnames
constant
diagnostics
encoding
feature
fields
filetest
if
integer
less
lib
locale
mro
open
ops
overload
overloading
parent
re
sigtrap
sort
strict
subs
threads
threads::shared
utf8
vars
vmsish
warnings
warnings::register
Utilities
c2ph
corelist
enc2xs
h2ph
h2xs
instmodsh
libnetcfg
perlbug
perldoc
perlivp
perlthanks
perlutil
piconv
pod2html
pod2man
pod2text
pod2usage
podchecker
podselect
prove
pstruct
ptar
ptardiff
shasum
splain
xsubpp
Language
CORE
perldata
perldbmfilter
perldebug
perldiag
perldtrace
perlebcdic
perlexperiment
perlfilter
perlfork
perlform
perlfunc
perlglossary
perlipc
perllexwarn
perllocale
perlmod
perlmodinstall
perlmodlib
perlmodstyle
perlnewmod
perlnumber
perlobj
perlperf
perlpod
perlpodspec
perlpodstyle
perlport
perlre
perlrebackslash
perlrecharclass
perlref
perlreref
perlsec
perlsub
perlsyn
perltie
perlunicode
perlunicook
perluniintro
perluniprops
Manual: Overview
perl
perlbook
perlcommunity
perlintro
perlrun
Platform Specific
perlaix
perlamiga
perlbs2000
perlce
perlcygwin
perldos
perlfreebsd
perlhaiku
perlhpux
perlhurd
perlirix
perllinux
perlmacos
perlmacosx
perlnetware
perlopenbsd
perlos2
perlos390
perlos400
perlplan9
perlqnx
perlriscos
perlsolaris
perlsymbian
perltru64
perlvms
perlvos
perlwin32
Internals
perlapi
perlapio
perlcall
perlclib
perldebguts
perlembed
perlguts
perlhack
perlhacktips
perlhacktut
perlintern
perlinterp
perliol
perlmroapi
perlpolicy
perlreapi
perlreguts
perlrepository
perlsource
perlxs
perlxstut
perlxstypemap
Manual: Tutorials
perlboot
perlbot
perlcheat
perldebtut
perldsc
perllol
perlootut
perlopentut
perlpacktut
perlpragma
perlreftut
perlrequick
perlretut
perlstyle
perlthrtut
perltooc
perltoot
perltrap
perlunitut
Manual: FAQs
perlfaq
perlfaq1
perlfaq2
perlfaq3
perlfaq4
perlfaq5
perlfaq6
perlfaq7
perlfaq8
perlfaq9
perlunifaq
Index
index