⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perl5005delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 4 页
字号:
other.  Perl decided to call the builtin because the subroutine isnot imported..SpTo force interpretation as a subroutine call, either put an ampersandbefore the subroutine name, or qualify the name with its package.Alternatively, you can import the subroutine (or pretend that it'simported with the \f(CW\*(C`use subs\*(C'\fR pragma)..SpTo silently interpret it as the Perl operator, use the \f(CW\*(C`CORE::\*(C'\fR prefixon the operator (e.g. \f(CW\*(C`CORE::log($x)\*(C'\fR) or by declaring the subroutineto be an object method (see attrs)..IP "Bad index while coercing array into hash" 4.IX Item "Bad index while coercing array into hash"(F) The index looked up in the hash found as the 0'th element of apseudo-hash is not legal.  Index values must be at 1 or greater.See perlref..ie n .IP "Bareword ""%s"" refers to nonexistent package" 4.el .IP "Bareword ``%s'' refers to nonexistent package" 4.IX Item "Bareword %s refers to nonexistent package"(W) You used a qualified bareword of the form \f(CW\*(C`Foo::\*(C'\fR, butthe compiler saw no other uses of that namespace before that point.Perhaps you need to predeclare a package?.ie n .IP "Can't call method ""%s"" on an undefined value" 4.el .IP "Can't call method ``%s'' on an undefined value" 4.IX Item "Can't call method %s on an undefined value"(F) You used the syntax of a method call, but the slot filled by theobject reference or package name contains an undefined value.Something like this will reproduce the error:.Sp.Vb 3\&    $BADREF = 42;\&    process $BADREF 1,2,3;\&    $BADREF\->process(1,2,3);.Ve.ie n .IP "Can't check filesystem of script ""%s"" for nosuid" 4.el .IP "Can't check filesystem of script ``%s'' for nosuid" 4.IX Item "Can't check filesystem of script %s for nosuid"(P) For some reason you can't check the filesystem of the script for nosuid..IP "Can't coerce array into hash" 4.IX Item "Can't coerce array into hash"(F) You used an array where a hash was expected, but the array has noinformation on how to map from keys to array indices.  You can do thatonly with arrays that have a hash reference at index 0..IP "Can't goto subroutine from an eval-string" 4.IX Item "Can't goto subroutine from an eval-string"(F) The \*(L"goto subroutine\*(R" call can't be used to jump out of an eval \*(L"string\*(R".(You can use it to jump out of an eval {\s-1BLOCK\s0}, but you probably don't want to.).IP "Can't localize pseudo-hash element" 4.IX Item "Can't localize pseudo-hash element"(F) You said something like \f(CW\*(C`local $ar\->{\*(Aqkey\*(Aq}\*(C'\fR, where \f(CW$ar\fR isa reference to a pseudo-hash.  That hasn't been implemented yet, butyou can get a similar effect by localizing the corresponding arrayelement directly \*(-- \f(CW\*(C`local $ar\->[$ar\->[0]{\*(Aqkey\*(Aq}]\*(C'\fR..IP "Can't use %%! because Errno.pm is not available" 4.IX Item "Can't use %%! because Errno.pm is not available"(F) The first time the %! hash is used, perl automatically loads theErrno.pm module. The Errno module is expected to tie the %! hash toprovide symbolic names for \f(CW$!\fR errno values..ie n .IP "Cannot find an opnumber for ""%s""" 4.el .IP "Cannot find an opnumber for ``%s''" 4.IX Item "Cannot find an opnumber for %s"(F) A string of a form \f(CW\*(C`CORE::word\*(C'\fR was given to \fIprototype()\fR, butthere is no builtin with the name \f(CW\*(C`word\*(C'\fR..IP "Character class syntax [. .] is reserved for future extensions" 4.IX Item "Character class syntax [. .] is reserved for future extensions"(W) Within regular expression character classes ([]) the syntax beginningwith \*(L"[.\*(R" and ending with \*(L".]\*(R" is reserved for future extensions.If you need to represent those character sequences inside a regularexpression character class, just quote the square brackets with thebackslash: \*(L"\e[.\*(R" and \*(L".\e]\*(R"..IP "Character class syntax [: :] is reserved for future extensions" 4.IX Item "Character class syntax [: :] is reserved for future extensions"(W) Within regular expression character classes ([]) the syntax beginningwith \*(L"[:\*(R" and ending with \*(L":]\*(R" is reserved for future extensions.If you need to represent those character sequences inside a regularexpression character class, just quote the square brackets with thebackslash: \*(L"\e[:\*(R" and \*(L":\e]\*(R"..IP "Character class syntax [= =] is reserved for future extensions" 4.IX Item "Character class syntax [= =] is reserved for future extensions"(W) Within regular expression character classes ([]) the syntaxbeginning with \*(L"[=\*(R" and ending with \*(L"=]\*(R" is reserved for future extensions.If you need to represent those character sequences inside a regularexpression character class, just quote the square brackets with thebackslash: \*(L"\e[=\*(R" and \*(L"=\e]\*(R"..ie n .IP "%s: Eval-group in insecure regular expression" 4.el .IP "\f(CW%s:\fR Eval-group in insecure regular expression" 4.IX Item "%s: Eval-group in insecure regular expression"(F) Perl detected tainted data when trying to compile a regular expressionthat contains the \f(CW\*(C`(?{ ... })\*(C'\fR zero-width assertion, which is unsafe.See \*(L"(?{ code })\*(R" in perlre, and perlsec..ie n .IP "%s: Eval-group not allowed, use re 'eval'" 4.el .IP "\f(CW%s:\fR Eval-group not allowed, use re 'eval'" 4.IX Item "%s: Eval-group not allowed, use re 'eval'"(F) A regular expression contained the \f(CW\*(C`(?{ ... })\*(C'\fR zero-width assertion,but that construct is only allowed when the \f(CW\*(C`use re \*(Aqeval\*(Aq\*(C'\fR pragma isin effect.  See \*(L"(?{ code })\*(R" in perlre..ie n .IP "%s: Eval-group not allowed at run time" 4.el .IP "\f(CW%s:\fR Eval-group not allowed at run time" 4.IX Item "%s: Eval-group not allowed at run time"(F) Perl tried to compile a regular expression containing the \f(CW\*(C`(?{ ... })\*(C'\fRzero-width assertion at run time, as it would when the pattern containsinterpolated values.  Since that is a security risk, it is not allowed.If you insist, you may still do this by explicitly building the patternfrom an interpolated string at run time and using that in an \fIeval()\fR.See \*(L"(?{ code })\*(R" in perlre..IP "Explicit blessing to '' (assuming package main)" 4.IX Item "Explicit blessing to '' (assuming package main)"(W) You are blessing a reference to a zero length string.  This hasthe effect of blessing the reference into the package main.  This isusually not what you want.  Consider providing a default targetpackage, e.g. bless($ref, \f(CW$p\fR || 'MyPackage');.IP "Illegal hex digit ignored" 4.IX Item "Illegal hex digit ignored"(W) You may have tried to use a character other than 0 \- 9 or A \- F in ahexadecimal number.  Interpretation of the hexadecimal number stoppedbefore the illegal character..IP "No such array field" 4.IX Item "No such array field"(F) You tried to access an array as a hash, but the field name used isnot defined.  The hash at index 0 should map all valid field names toarray indices for that to work..ie n .IP "No such field ""%s"" in variable %s\fR of type \f(CW%s" 4.el .IP "No such field ``%s'' in variable \f(CW%s\fR of type \f(CW%s\fR" 4.IX Item "No such field %s in variable %s of type %s"(F) You tried to access a field of a typed variable where the typedoes not know about the field name.  The field names are looked up inthe \f(CW%FIELDS\fR hash in the type package at compile time.  The \f(CW%FIELDS\fR hashis usually set up with the 'fields' pragma..IP "Out of memory during ridiculously large request" 4.IX Item "Out of memory during ridiculously large request"(F) You can't allocate more than 2^31+\*(L"small amount\*(R" bytes.  This erroris most likely to be caused by a typo in the Perl program. e.g., \f(CW$arr[time]\fRinstead of \f(CW$arr[$time]\fR..IP "Range iterator outside integer range" 4.IX Item "Range iterator outside integer range"(F) One (or both) of the numeric arguments to the range operator \*(L"..\*(R"are outside the range which can be represented by integers internally.One possible workaround is to force Perl to use magical stringincrement by prepending \*(L"0\*(R" to your numbers..ie n .IP "Recursive inheritance detected while looking for method '%s' %s" 4.el .IP "Recursive inheritance detected while looking for method '%s' \f(CW%s\fR" 4.IX Item "Recursive inheritance detected while looking for method '%s' %s"(F) More than 100 levels of inheritance were encountered while invoking amethod.  Probably indicates an unintended loop in your inheritance hierarchy..IP "Reference found where even-sized list expected" 4.IX Item "Reference found where even-sized list expected"(W) You gave a single reference where Perl was expecting a list withan even number of elements (for assignment to a hash). Thisusually means that you used the anon hash constructor when you meant to use parens. In any case, a hash requires key/value \fBpairs\fR..Sp.Vb 4\&    %hash = { one => 1, two => 2, };   # WRONG\&    %hash = [ qw/ an anon array / ];   # WRONG\&    %hash = ( one => 1, two => 2, );   # right\&    %hash = qw( one 1 two 2 );                 # also fine.Ve.IP "Undefined value assigned to typeglob" 4.IX Item "Undefined value assigned to typeglob"(W) An undefined value was assigned to a typeglob, a la \f(CW\*(C`*foo = undef\*(C'\fR.This does nothing.  It's possible that you really mean \f(CW\*(C`undef *foo\*(C'\fR..ie n .IP "Use of reserved word ""%s"" is deprecated" 4.el .IP "Use of reserved word ``%s'' is deprecated" 4.IX Item "Use of reserved word %s is deprecated"(D) The indicated bareword is a reserved word.  Future versions of perlmay use it as a keyword, so you're better off either explicitly quotingthe word in a manner appropriate for its context of use, or using adifferent name altogether.  The warning can be suppressed for subroutinenames by either adding a \f(CW\*(C`&\*(C'\fR prefix, or using a package qualifier,e.g. \f(CW\*(C`&our()\*(C'\fR, or \f(CW\*(C`Foo::our()\*(C'\fR..IP "perl: warning: Setting locale failed." 4.IX Item "perl: warning: Setting locale failed."(S) The whole warning message will look something like:.Sp.Vb 6\&       perl: warning: Setting locale failed.\&       perl: warning: Please check that your locale settings:\&               LC_ALL = "En_US",\&               LANG = (unset)\&           are supported and installed on your system.\&       perl: warning: Falling back to the standard locale ("C")..Ve.SpExactly what were the failed locale settings varies.  In the above thesettings were that the \s-1LC_ALL\s0 was \*(L"En_US\*(R" and the \s-1LANG\s0 had no value.This error means that Perl detected that you and/or your systemadministrator have set up the so-called variable system but Perl couldnot use those settings.  This was not dead serious, fortunately: thereis a \*(L"default locale\*(R" called \*(L"C\*(R" that Perl can and will use, thescript will be run.  Before you really fix the problem, however, youwill get the same error message each time you run Perl.  How to reallyfix the problem can be found in \*(L"\s-1LOCALE\s0 \s-1PROBLEMS\s0\*(R" in perllocale..SH "Obsolete Diagnostics".IX Header "Obsolete Diagnostics".IP "Can't \fImktemp()\fR" 4.IX Item "Can't mktemp()"(F) The \fImktemp()\fR routine failed for some reason while trying to processa \fB\-e\fR switch.  Maybe your /tmp partition is full, or clobbered..SpRemoved because \fB\-e\fR doesn't use temporary files any more..ie n .IP "Can't write to temp file for \fB\-e\fR: %s" 4.el .IP "Can't write to temp file for \fB\-e\fR: \f(CW%s\fR" 4.IX Item "Can't write to temp file for -e: %s"(F) The write routine failed for some reason while trying to processa \fB\-e\fR switch.  Maybe your /tmp partition is full, or clobbered..SpRemoved because \fB\-e\fR doesn't use temporary files any more..IP "Cannot open temporary file" 4.IX Item "Cannot open temporary file"(F) The create routine failed for some reason while trying to processa \fB\-e\fR switch.  Maybe your /tmp partition is full, or clobbered..SpRemoved because \fB\-e\fR doesn't use temporary files any more..IP "regexp too big" 4.IX Item "regexp too big"(F) The current implementation of regular expressions uses shorts asaddress offsets within a string.  Unfortunately this means that ifthe regular expression compiles to longer than 32767, it'll blow up.Usually when you want a regular expression this big, there is a betterway to do it with multiple statements.  See perlre..SH "Configuration Changes".IX Header "Configuration Changes"You can use \*(L"Configure \-Uinstallusrbinperl\*(R" which causes installperlto skip installing perl also as /usr/bin/perl.  This is useful if youprefer not to modify /usr/bin for some reason or another but harmfulbecause many scripts assume to find Perl in /usr/bin/perl..SH "BUGS".IX Header "BUGS"If you find what you think is a bug, you might check the headers ofrecently posted articles in the comp.lang.perl.misc newsgroup.There may also be information at http://www.perl.com/perl/ , the PerlHome Page..PPIf you believe you have an unreported bug, please run the \fBperlbug\fRprogram included with your release.  Make sure you trim your bug downto a tiny but sufficient test case.  Your bug report, along with theoutput of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to <\fIperlbug@perl.com\fR> to beanalysed by the Perl porting team..SH "SEE ALSO".IX Header "SEE ALSO"The \fIChanges\fR file for exhaustive details on what changed..PPThe \fI\s-1INSTALL\s0\fR file for how to build Perl..PPThe \fI\s-1README\s0\fR file for general stuff..PPThe \fIArtistic\fR and \fICopying\fR files for copyright information..SH "HISTORY".IX Header "HISTORY"Written by Gurusamy Sarathy <\fIgsar@activestate.com\fR>, with many contributionsfrom The Perl Porters..PPSend omissions or corrections to <\fIperlbug@perl.com\fR>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -