perltoc.pod
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· POD 代码 · 共 2,713 行 · 第 1/5 页
POD
2,713 行
Keyboard, Screen, Mouse=item How do I print something out in color?=item How do I read just one key without waiting for a return key?=item How do I check whether input is ready on the keyboard?=item How do I clear the screen?=item How do I get the screen size?=item How do I ask the user for a password?=item How do I read and write the serial port?lockfiles, open mode, end of line, flushing output, non-blocking input=item How do I decode encrypted password files?=item How do I start a process in the background?STDIN, STDOUT, and STDERR are shared, Signals, Zombies=item How do I trap control characters/signals?=item How do I modify the shadow password file on a Unix system?=item How do I set the time and date?=item How can I sleep() or alarm() for under a second?X<Time::HiRes> X<BSD::Itimer> X<sleep> X<select>=item How can I measure time under a second?X<Time::HiRes> X<BSD::Itimer> X<sleep> X<select>=item How can I do an atexit() or setjmp()/longjmp()? (Exception handling)=item Why doesn't my sockets program work under System V (Solaris)? Whatdoes the error message "Protocol not supported" mean?=item How can I call my system's unique C functions from Perl?=item Where do I get the include files to do ioctl() or syscall()?=item Why do setuid perl scripts complain about kernel problems?=item How can I open a pipe both to and from a command?=item Why can't I get the output of a command with system()?=item How can I capture STDERR from an external command?=item Why doesn't open() return an error when a pipe open fails?=item What's wrong with using backticks in a void context?=item How can I call backticks without shell processing?=item Why can't my script read from STDIN after I gave it EOF (^D on Unix,^Z on MS-DOS)?=item How can I convert my shell script to perl?=item Can I use perl to run a telnet or ftp session?=item How can I write expect in Perl?=item Is there a way to hide perl's command line from programs such as"ps"?=item I {changed directory, modified my environment} in a perl script. Howcome the change disappeared when I exited the script? How do I get mychanges to be visible?Unix=item How do I close a process's filehandle without waiting for it tocomplete?=item How do I fork a daemon process?=item How do I find out if I'm running interactively or not?=item How do I timeout a slow event?=item How do I set CPU limits?X<BSD::Resource> X<limit> X<CPU>=item How do I avoid zombies on a Unix system?=item How do I use an SQL database?=item How do I make a system() exit on control-C?=item How do I open a file without blocking?=item How do I tell the difference between errors from the shell and perl?=item How do I install a module from CPAN?=item What's the difference between require and use?=item How do I keep my own module/library directory?=item How do I add the directory my program lives in to the module/librarysearch path?=item How do I add a directory to my include path (@INC) at runtime?the PERLLIB environment variable, the PERL5LIB environment variable, theperl -Idir command line flag, the use lib pragma:=item What is socket.ph and where do I get it?=back=item REVISION=item AUTHOR AND COPYRIGHT=back=head2 perlfaq9 - Networking=over 4=item DESCRIPTION=over 4=item What is the correct form of response from a CGI script?=item My CGI script runs from the command line but not the browser. (500Server Error)=item How can I get better error messages from a CGI program?=item How do I remove HTML from a string?=item How do I extract URLs?=item How do I download a file from the user's machine? How do I open afile on another machine?=item How do I make an HTML pop-up menu with Perl?=item How do I fetch an HTML file?=item How do I automate an HTML form submission?=item How do I decode or create those %-encodings on the web?=item How do I redirect to another page?=item How do I put a password on my web pages?=item How do I edit my .htpasswd and .htgroup files with Perl?=item How do I make sure users can't enter values into a form that cause myCGI script to do bad things?=item How do I parse a mail header?=item How do I decode a CGI form?=item How do I check a valid mail address?=item How do I decode a MIME/BASE64 string?=item How do I return the user's mail address?=item How do I send mail?=item How do I use MIME to make an attachment to a mail message?=item How do I read mail?=item How do I find out my hostname, domainname, or IP address?X<hostname, domainname, IP address, host, domain, hostfqdn, inet_ntoa,gethostbyname, Socket, Net::Domain, Sys::Hostname>=item How do I fetch a news article or the active newsgroups?=item How do I fetch/put an FTP file?=item How can I do RPC in Perl?=back=item REVISION=item AUTHOR AND COPYRIGHT=back=head2 perlsyn - Perl syntax=over 4=item DESCRIPTION=over 4=item DeclarationsX<declaration> X<undef> X<undefined> X<uninitialized>=item CommentsX<comment> X<#>=item Simple StatementsX<statement> X<semicolon> X<expression> X<;>=item Truth and FalsehoodX<truth> X<falsehood> X<true> X<false> X<!> X<not> X<negation> X<0>=item Statement ModifiersX<statement modifier> X<modifier> X<if> X<unless> X<while>X<until> X<foreach> X<for>=item Compound StatementsX<statement, compound> X<block> X<bracket, curly> X<curly bracket> X<brace>X<{> X<}> X<if> X<unless> X<while> X<until> X<foreach> X<for> X<continue>=item Loop ControlX<loop control> X<loop, control> X<next> X<last> X<redo> X<continue>=item For LoopsX<for> X<foreach>=item Foreach LoopsX<for> X<foreach>=item Basic BLOCKsX<block>=item Switch statementsX<switch> X<case> X<given> X<when> X<default>o, o, o, o, o, o, o=item GotoX<goto>=item PODs: Embedded DocumentationX<POD> X<documentation>=item Plain Old Comments (Not!)X<comment> X<line> X<#> X<preprocessor> X<eval>=back=back=head2 perldata - Perl data types=over 4=item DESCRIPTION=over 4=item Variable namesX<variable, name> X<variable name> X<data type> X<type>=item ContextX<context> X<scalar context> X<list context>=item Scalar valuesX<scalar> X<number> X<string> X<reference>=item Scalar value constructorsX<scalar, literal> X<scalar, constant>=item List value constructorsX<list>=item Subscripts=item SlicesX<slice> X<array, slice> X<hash, slice>=item Typeglobs and FilehandlesX<typeglob> X<filehandle> X<*>=back=item SEE ALSO=back=head2 perlop - Perl operators and precedence=over 4=item DESCRIPTION=over 4=item Operator Precedence and AssociativityX<operator, precedence> X<precedence> X<associativity>=item Terms and List Operators (Leftward)X<list operator> X<operator, list> X<term>=item The Arrow OperatorX<arrow> X<dereference> X<< -> >>=item Auto-increment and Auto-decrementX<increment> X<auto-increment> X<++> X<decrement> X<auto-decrement> X<-->=item ExponentiationX<**> X<exponentiation> X<power>=item Symbolic Unary OperatorsX<unary operator> X<operator, unary>=item Binding OperatorsX<binding> X<operator, binding> X<=~> X<!~>=item Multiplicative OperatorsX<operator, multiplicative>=item Additive OperatorsX<operator, additive>=item Shift OperatorsX<shift operator> X<operator, shift> X<<< << >>>X<<< >> >>> X<right shift> X<left shift> X<bitwise shift>X<shl> X<shr> X<shift, right> X<shift, left>=item Named Unary OperatorsX<operator, named unary>=item Relational OperatorsX<relational operator> X<operator, relational>=item Equality OperatorsX<equality> X<equal> X<equals> X<operator, equality>=item Bitwise AndX<operator, bitwise, and> X<bitwise and> X<&>=item Bitwise Or and Exclusive OrX<operator, bitwise, or> X<bitwise or> X<|> X<operator, bitwise, xor>X<bitwise xor> X<^>=item C-style Logical AndX<&&> X<logical and> X<operator, logical, and>=item C-style Logical OrX<||> X<operator, logical, or>=item C-style Logical Defined-OrX<//> X<operator, logical, defined-or>=item Range OperatorsX<operator, range> X<range> X<..> X<...>=item Conditional OperatorX<operator, conditional> X<operator, ternary> X<ternary> X<?:>=item Assignment OperatorsX<assignment> X<operator, assignment> X<=> X<**=> X<+=> X<*=> X<&=>X<<< <<= >>> X<&&=> X<-=> X</=> X<|=> X<<< >>= >>> X<||=> X<//=> X<.=>X<%=> X<^=> X<x=>=item Comma OperatorX<comma> X<operator, comma> X<,>=item List Operators (Rightward)X<operator, list, rightward> X<list operator>=item Logical NotX<operator, logical, not> X<not>=item Logical AndX<operator, logical, and> X<and>=item Logical or, Defined or, and Exclusive OrX<operator, logical, or> X<operator, logical, xor>X<operator, logical, defined or> X<operator, logical, exclusive or>X<or> X<xor>=item C Operators Missing From PerlX<operator, missing from perl> X<&> X<*>X<typecasting> X<(TYPE)>unary &, unary *, (TYPE)=item Quote and Quote-like OperatorsX<operator, quote> X<operator, quote-like> X<q> X<qq> X<qx> X<qw> X<m>X<qr> X<s> X<tr> X<'> X<''> X<"> X<""> X<//> X<`> X<``> X<<< << >>>X<escape sequence> X<escape>=item Regexp Quote-Like OperatorsX<operator, regexp>qr/STRING/msixpo X<qr> X</i> X</m> X</o> X</s> X</x> X</p>,m/PATTERN/msixpogc X<m> X<operator, match> X<regexp, options> X<regexp>X<regex, options> X<regex> X</m> X</s> X</i> X</x> X</p> X</o> X</g> X</c>,/PATTERN/msixpogc, ?PATTERN? X<?>, s/PATTERN/REPLACEMENT/msixpogceX<substitute> X<substitution> X<replace> X<regexp, replace> X<regexp,substitute> X</m> X</s> X</i> X</x> X</p> X</o> X</g> X</c> X</e>=item Quote-Like OperatorsX<operator, quote-like>q/STRING/ X<q> X<quote, single> X<'> X<''>, 'STRING', qq/STRING/ X<qq>X<quote, double> X<"> X<"">, "STRING", qx/STRING/ X<qx> X<`> X<``>X<backtick>, `STRING`, qw/STRING/ X<qw> X<quote, list> X<quote, words>,tr/SEARCHLIST/REPLACEMENTLIST/cds X<tr> X<y> X<transliterate> X</c> X</d>X</s>, y/SEARCHLIST/REPLACEMENTLIST/cds, <<EOF X<here-doc> X<heredoc>X<here-document> X<<< << >>>, Double Quotes, Single Quotes, Backticks=item Gory details of parsing quoted constructsX<quote, gory details>Finding the end, Interpolation X<interpolation>, C<<<'EOF'>, C<m''>, thepattern of C<s'''>, C<''>, C<q//>, C<tr'''>, C<y'''>, the replacement ofC<s'''>, C<tr///>, C<y///>, C<"">, C<``>, C<qq//>, C<qx//>, C<< <file*glob>>>, C<<<"EOF">, the replacement of C<s///>, C<RE> in C<?RE?>, C</RE/>,C<m/RE/>, C<s/RE/foo/>,, parsing regular expressions X<regexp, parse>,Optimization of regular expressions X<regexp, optimization>=item I/O OperatorsX<operator, i/o> X<operator, io> X<io> X<while> X<filehandle>X<< <> >> X<@ARGV>=item Constant FoldingX<constant folding> X<folding>=item No-opsX<no-op> X<nop>=item Bitwise String OperatorsX<operator, bitwise, string>=item Integer ArithmeticX<integer>=item Floating-point ArithmeticX<floating-point> X<floating point> X<float> X<real>=item Bigger NumbersX<number, arbitrary precision>=back=back=head2 perlsub - Perl subroutines=over 4=item SYNOPSIS=item DESCRIPTION=over 4=item Private Variables via my()X<my> X<variable, lexical> X<lexical> X<lexical variable> X<scope, lexical>X<lexical scope> X<attributes, my>=item Persistent Private VariablesX<state> X<state variable> X<static> X<variable, persistent> X<variable,static> X<closure>=item Temporary Values via local()X<local> X<scope, dynamic> X<dynamic scope> X<variable, local>X<variable, temporary>=item Lvalue subroutinesX<lvalue> X<subroutine, lvalue>Lvalue subroutines are EXPERIMENTAL=item Passing Symbol Table Entries (typeglobs)X<typeglob> X<*>=item When to Still Use local()X<local> X<variable, local>=item Pass by ReferenceX<pass by reference> X<pass-by-reference> X<reference>=item PrototypesX<prototype> X<subroutine, prototype>=item Constant FunctionsX<constant>=item Overriding Built-in FunctionsX<built-in> X<override> X<CORE> X<CORE::GLOBAL>=item AutoloadingX<autoloading> X<AUTOLOAD>=item Subroutine AttributesX<attribute> X<subroutine, attribute> X<attrs>=back=item SEE ALSO=back=head2 perlfunc - Perl builtin functions=over 4=item DESCRIPTION=over 4=item Perl Functions by CategoryX<function>Functions for SCALARs or strings X<scalar> X<string> X<character>, Regularexpressions and pattern matching X<regular expression> X<regex> X<regexp>,Numeric functions X<numeric> X<number> X<trigonometric> X<trigonometry>,Functions for real @ARRAYs X<array>, Functions for list data X<list>,Functions for real %HASHes X<hash>, Input and output functions X<I/O>X<input> X<output> X<dbm>, Functions for fixed length data or records,Functions for filehandles, files, or directories X<file> X<filehandle>X<directory> X<pipe> X<link> X<symlink>, Keywords related to the controlflow of your Perl program X<control flow>, Keywords related to switch,Keywords related to scoping, Miscellaneous functions, Functions forprocesses and process groups X<process> X<pid> X<process id>, Keywordsrelated to perl modules X<module>, Keywords related to classes andobject-orientation X<object> X<class> X<package>, Low-level socketfunctions X<socket> X<sock>, System V interprocess communication functionsX<IPC> X<System V> X<semaphore> X<shared memory> X<memory> X<message>,Fetching user and group info X<user> X<group> X<password> X<uid> X<gid> X<passwd> X</etc/passwd>, Fetching network info X<network> X<protocol>X<host> X<hostname> X<IP> X<address> X<service>, Time-related functionsX<time> X<date>, Functions new in perl5 X<perl5>, Functions obsoleted inperl5=item PortabilityX<portability> X<Unix> X<portable>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?