(W misc) You seem to have already declared the same global once before in the
current lexical scope.
<P></P>
<DT><STRONG><A NAME="item_%22use%22_not_allowed_in_expression">``use'' not allowed in expression</A></STRONG><BR>
<DD>
(F) The ``use'' keyword is recognized and executed at compile time, and returns
no useful value. See <A HREF="../../lib/Pod/perlmod.html">the perlmod manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%27%21%27_allowed_only_after_types_%25s">'!' allowed only after types %s</A></STRONG><BR>
<DD>
(F) The '!' is allowed in <A HREF="../../lib/Pod/perlfunc.html#item_pack"><CODE>pack()</CODE></A> and <A HREF="../../lib/Pod/perlfunc.html#item_unpack"><CODE>unpack()</CODE></A> only after certain types.
See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%2F_cannot_take_a_count">/ cannot take a count</A></STRONG><BR>
<DD>
(F) You had an unpack template indicating a counted-length string,
but you have also specified an explicit size for the string.
See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%2F_must_be_followed_by_a%2C_A_or_Z">/ must be followed by a, A or Z</A></STRONG><BR>
<DD>
(F) You had an unpack template indicating a counted-length string,
which must be followed by one of the letters a, A or Z
to indicate what sort of string is to be unpacked.
See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%2F_must_be_followed_by_a%2A%2C_A%2A_or_Z%2A">/ must be followed by a*, A* or Z*</A></STRONG><BR>
<DD>
(F) You had a pack template indicating a counted-length string,
Currently the only things that can have their length counted are a*, A* or Z*.
See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%2F_must_follow_a_numeric_type">/ must follow a numeric type</A></STRONG><BR>
<DD>
(F) You had an unpack template that contained a '#',
but this did not follow some numeric unpack specification.
See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%25_may_only_be_used_in_unpack">% may only be used in unpack</A></STRONG><BR>
<DD>
(F) You can't pack a string by supplying a checksum, because the
checksumming process loses information, and you can't go the other
way. See <A HREF="../../lib/Pod/perlfunc.html#unpack">unpack in the perlfunc manpage</A>.
(W regexp) You used a backslash-character combination which is not recognized
by Perl. This combination appears in an interpolated variable or a
<CODE>'</CODE>-delimited regular expression. The character was understood literally.
<P></P>
<DT><STRONG><A NAME="item_%2F%25s%2F%3A_Unrecognized_escape_%5C%5C%25c_in_ch">/%s/: Unrecognized escape \\%c in character class passed through</A></STRONG><BR>
<DD>
(W regexp) You used a backslash-character combination which is not recognized
by Perl inside character classes. The character was understood literally.
<P></P>
<DT><STRONG><A NAME="item_%2F%25s%2F_should_probably_be_written_as_%22%25s%2">/%s/ should probably be written as ``%s''</A></STRONG><BR>
<DD>
(W syntax) You have used a pattern where Perl expected to find a string,
as in the first argument to <A HREF="../../lib/Pod/perlfunc.html#item_join"><CODE>join</CODE></A>. Perl will treat the true
or false result of matching the pattern against $_ as the string,
which is probably not what you had in mind.
<P></P>
<DT><STRONG><A NAME="item_s">%s (...) interpreted as function</A></STRONG><BR>
<DD>
(W syntax) You've run afoul of the rule that says that any list operator followed
by parentheses turns into a function, with all the list operators arguments
found inside the parentheses. See <A HREF="../../lib/Pod/perlop.html#terms and list operators (leftward)">Terms and List Operators (Leftward) in the perlop manpage</A>.
<P></P>
<DT><STRONG>%s() called too early to check prototype</STRONG><BR>
<DD>
(W prototype) You've called a function that has a prototype before the parser saw a
definition or declaration for it, and Perl could not check that the call
conforms to the prototype. You need to either add an early prototype
declaration for the subroutine in question, or move the subroutine
definition ahead of the call to get proper prototype checking. Alternatively,
if you are certain that you're calling the function correctly, you may put
an ampersand before the name to avoid the warning. See <A HREF="../../lib/Pod/perlsub.html">the perlsub manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%s">%s argument is not a HASH or ARRAY element</A></STRONG><BR>
<DD>
(F) The argument to <A HREF="../../lib/Pod/perlfunc.html#item_exists"><CODE>exists()</CODE></A> must be a hash or array element, such as:
<PRE>
$foo{$bar}
$ref->{"susie"}[12]</PRE>
<P></P>
<DT><STRONG>%s argument is not a HASH or ARRAY element or slice</STRONG><BR>
<DD>
(F) The argument to <A HREF="../../lib/Pod/perlfunc.html#item_delete"><CODE>delete()</CODE></A> must be either a hash or array element, such as:
<PRE>
$foo{$bar}
$ref->{"susie"}[12]</PRE>
<P>or a hash or array slice, such as:</P>
<PRE>
@foo[$bar, $baz, $xyzzy]
@{$ref->[12]}{"susie", "queue"}</PRE>
<P></P>
<DT><STRONG>%s argument is not a subroutine name</STRONG><BR>
<DD>
(F) The argument to <A HREF="../../lib/Pod/perlfunc.html#item_exists"><CODE>exists()</CODE></A> for <CODE>exists &sub</CODE> must be a subroutine
name, and not a subroutine call. <A HREF="../../lib/Pod/perlfunc.html#item_sub"><CODE>exists &sub()</CODE></A> will generate this error.
<P></P>
<DT><STRONG>%s did not return a true value</STRONG><BR>
<DD>
(F) A required (or used) file must return a true value to indicate that
it compiled correctly and ran its initialization code correctly. It's
traditional to end such a file with a ``1;'', though any true value would
do. See <A HREF="../../lib/Pod/perlfunc.html#require">require in the perlfunc manpage</A>.
<P></P>
<DT><STRONG>%s found where operator expected</STRONG><BR>
<DD>
(S) The Perl lexer knows whether to expect a term or an operator. If it
sees what it knows to be a term when it was expecting to see an operator,
it gives you this warning. Usually it indicates that an operator or
delimiter was omitted, such as a semicolon.
<P></P>
<DT><STRONG>%s had compilation errors</STRONG><BR>
<DD>
(F) The final summary message when a <CODE>perl -c</CODE> fails.
<P></P>
<DT><STRONG>%s has too many errors</STRONG><BR>
<DD>
(F) The parser has given up trying to parse the program after 10 errors.
Further error messages would likely be uninformative.
<P></P>
<DT><STRONG>%s matches null string many times</STRONG><BR>
<DD>
(W regexp) The pattern you've specified would be an infinite loop if the
regular expression engine didn't specifically check for that. See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG>%s never introduced</STRONG><BR>
<DD>
(S internal) The symbol in question was declared but somehow went out of scope
before it could possibly have been used.
<P></P>
<DT><STRONG>%s package attribute may clash with future reserved word: %s</STRONG><BR>
<DD>
(W reserved) A lowercase attribute name was used that had a package-specific handler.
That name might have a meaning to Perl itself some day, even though it
doesn't yet. Perhaps you should use a mixed-case attribute name, instead.
See <A HREF="../../lib/attributes.html">the attributes manpage</A>.
<P></P>
<DT><STRONG>%s syntax OK</STRONG><BR>
<DD>
(F) The final summary message when a <CODE>perl -c</CODE> succeeds.
<P></P>
<DT><STRONG><A NAME="item_%s:">%s: Command not found</A></STRONG><BR>
<DD>
(A) You've accidentally run your script through <STRONG>csh</STRONG> instead
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
<P></P>
<DT><STRONG>%s: Expression syntax</STRONG><BR>
<DD>
(A) You've accidentally run your script through <STRONG>csh</STRONG> instead
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
<P></P>
<DT><STRONG>%s: Undefined variable</STRONG><BR>
<DD>
(A) You've accidentally run your script through <STRONG>csh</STRONG> instead
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
<P></P>
<DT><STRONG>%s: not found</STRONG><BR>
<DD>
(A) You've accidentally run your script through the Bourne shell
instead of Perl. Check the #! line, or manually feed your script
(W misc) This prefix usually indicates that a <CODE>DESTROY()</CODE> method raised
the indicated exception. Since destructors are usually called by
the system at arbitrary points during execution, and often a vast
number of times, the warning is issued only once for any number
of failures that would otherwise result in the same message being
repeated.
<P>Failure of user callbacks dispatched using the <CODE>G_KEEPERR</CODE> flag
could also result in this warning. See <A HREF="../../lib/Pod/perlcall.html#g_keeperr">G_KEEPERR in the perlcall manpage</A>.</P>
<P></P>
<DT><STRONG><A NAME="item_%28Missing_semicolon_on_previous_line%3F%29">(Missing semicolon on previous line?)</A></STRONG><BR>
<DD>
(S) This is an educated guess made in conjunction with the message ``%s
found where operator expected''. Don't automatically put a semicolon on
the previous line just because you saw this message.
<P></P>
<DT><STRONG><A NAME="item_%2DP_not_allowed_for_setuid%2Fsetgid_script"><STRONG>-P</STRONG> not allowed for setuid/setgid script</A></STRONG><BR>
<DD>
(F) The script would have to be opened by the C preprocessor by name,
which provides a race condition that breaks security.
<P></P>
<DT><STRONG><A NAME="item_%2DT_and_%2DB_not_implemented_on_filehandles"><CODE>-T</CODE> and <CODE>-B</CODE> not implemented on filehandles</A></STRONG><BR>
<DD>
(F) Perl can't peek at the stdio buffer of filehandles when it doesn't
know about your kind of stdio. You'll have to use a filename instead.
<DT><STRONG><A NAME="item_%3F%2B%2A_follows_nothing_in_regexp">?+* follows nothing in regexp</A></STRONG><BR>
<DD>
(F) You started a regular expression with a quantifier. Backslash it
if you meant it literally. See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%40_outside_of_string">@ outside of string</A></STRONG><BR>
<DD>
(F) You had a pack template that specified an absolute position outside
the string being unpacked. See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%3C%3E_should_be_quotes"><> should be quotes</A></STRONG><BR>
<DD>
(F) You wrote <CODE>require <file></CODE> when you should have written
<CODE>require 'file'</CODE>.
<P></P>
<DT><STRONG><A NAME="item_accept"><CODE>accept()</CODE> on closed socket %s</A></STRONG><BR>
<DD>
(W closed) You tried to do an accept on a closed socket. Did you forget to check
the return value of your <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call? See <A HREF="../../lib/Pod/perlfunc.html#accept">accept in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Allocation_too_large%3A_%25lx">Allocation too large: %lx</A></STRONG><BR>
<DD>
(X) You can't allocate more than 64K on an MS-DOS machine.
<P></P>
<DT><STRONG><A NAME="item_scalar">Applying %s to %s will act on <CODE>scalar(%s)</CODE></A></STRONG><BR>
<DD>
(W misc) The pattern match (//), substitution (s///), and transliteration (tr///)
operators work on scalar values. If you apply one of them to an array
or a hash, it will convert the array or hash to a scalar value -- the
length of an array, or the population info of a hash -- and then work on
that scalar value. This is probably not what you meant to do. See
<A HREF="../../lib/Pod/perlfunc.html#grep">grep in the perlfunc manpage</A> and <A HREF="../../lib/Pod/perlfunc.html#map">map in the perlfunc manpage</A> for alternatives.
<P></P>
<DT><STRONG><A NAME="item_Arg_too_short_for_msgsnd">Arg too short for msgsnd</A></STRONG><BR>
<DD>
(F) <A HREF="../../lib/Pod/perlfunc.html#item_msgsnd"><CODE>msgsnd()</CODE></A> requires a string at least as long as sizeof(long).
<P></P>
<DT><STRONG><A NAME="item_Ambiguous_use_of_%25s_resolved_as_%25s">Ambiguous use of %s resolved as %s</A></STRONG><BR>
<DD>
(W ambiguous)(S) You said something that may not be interpreted the way
you thought. Normally it's pretty easy to disambiguate it by supplying
a missing quote, operator, parenthesis pair or declaration.
<P></P>
<DT><STRONG>Ambiguous call resolved as CORE::%s(), qualify as such or use &</STRONG><BR>
<DD>
(W ambiguous) A subroutine you have declared has the same name as a Perl keyword,
and you have used the name without qualification for calling one or the
other. Perl decided to call the builtin because the subroutine is
not imported.
<P>To force interpretation as a subroutine call, either put an ampersand
before the subroutine name, or qualify the name with its package.
Alternatively, you can import the subroutine (or pretend that it's
imported with the <CODE>use subs</CODE> pragma).</P>
<P>To silently interpret it as the Perl operator, use the <CODE>CORE::</CODE> prefix
on the operator (e.g. <A HREF="../../lib/Pod/perlfunc.html#item_log"><CODE>CORE::log($x)</CODE></A>) or by declaring the subroutine
to be an object method (see <A HREF="../../lib/Pod/perlsub.html#subroutine attributes">Subroutine Attributes in the perlsub manpage</A>
or <A HREF="../../lib/attributes.html">the attributes manpage</A>).</P>
<P></P>
<DT><STRONG><A NAME="item_Args_must_match_%23%21_line">Args must match #! line</A></STRONG><BR>
<DD>
(F) The setuid emulator requires that the arguments Perl was invoked
with match the arguments specified on the #! line. Since some systems
impose a one-argument limit on the #! line, try combining switches;
for example, turn <CODE>-w -U</CODE> into <CODE>-wU</CODE>.
(A) You've accidentally run your script through <STRONG>csh</STRONG> instead
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
<P></P>
<DT><STRONG><A NAME="item_Bareword_%22%25s%22_not_allowed_while_%22strict_su">Bareword ``%s'' not allowed while ``strict subs'' in use</A></STRONG><BR>
<DD>
(F) With ``strict subs'' in use, a bareword is only allowed as a
subroutine identifier, in curly brackets or to the left of the ``=>'' symbol.
Perhaps you need to predeclare a subroutine?
<P></P>
<DT><STRONG><A NAME="item_Bareword_%22%25s%22_refers_to_nonexistent_package">Bareword ``%s'' refers to nonexistent package</A></STRONG><BR>
<DD>
(W bareword) You used a qualified bareword of the form <CODE>Foo::</CODE>, but
the compiler saw no other uses of that namespace before that point.
Perhaps you need to predeclare a package?
<P></P>
<DT><STRONG><A NAME="item_Bareword_found_in_conditional">Bareword found in conditional</A></STRONG><BR>
<DD>
(W bareword) The compiler found a bareword where it expected a conditional,
which often indicates that an || or && was parsed as part of the
last argument of the previous construct, for example:
<PRE>
open FOO || die;</PRE>
<P>It may also indicate a misspelled constant that has been interpreted
as a bareword:</P>
<PRE>
use constant TYPO => 1;
if (TYOP) { print "foo" }</PRE>
<P>The <CODE>strict</CODE> pragma is useful in avoiding such errors.</P>
(F) An untrapped exception was raised while executing a BEGIN subroutine.
Compilation stops immediately and the interpreter is exited.
<P></P>
<DT><STRONG><A NAME="item_BEGIN_not_safe_after_errors%2D%2Dcompilation_abort">BEGIN not safe after errors--compilation aborted</A></STRONG><BR>
<DD>
(F) Perl found a <CODE>BEGIN {}</CODE> subroutine (or a <A HREF="../../lib/Pod/perlfunc.html#item_use"><CODE>use</CODE></A> directive, which
implies a <CODE>BEGIN {}</CODE>) after one or more compilation errors had
already occurred. Since the intended environment for the <CODE>BEGIN {}</CODE>
could not be guaranteed (due to the errors), and since subsequent code
likely depends on its correct operation, Perl just gave up.
<P></P>
<DT><STRONG><A NAME="item_Binary_number_%3E_0b111111111111111111111111111111">Binary number > 0b11111111111111111111111111111111 non-portable</A></STRONG><BR>
<DD>
(W portable) The binary number you specified is larger than 2**32-1
(4294967295) and therefore non-portable between systems. See
<A HREF="../../lib/Pod/perlport.html">the perlport manpage</A> for more on portability concerns.
<P></P>
<DT><STRONG><A NAME="item_bind"><CODE>bind()</CODE> on closed socket %s</A></STRONG><BR>
<DD>
(W closed) You tried to do a bind on a closed socket. Did you forget to check
the return value of your <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call? See <A HREF="../../lib/Pod/perlfunc.html#bind">bind in the perlfunc manpage</A>.
(F) Only hard references may be blessed. This is how Perl ``enforces''
encapsulation of objects. See <A HREF="../../lib/Pod/perlobj.html">the perlobj manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_break_at_that_line">Can't break at that line</A></STRONG><BR>
<DD>
(S internal) A warning intended to only be printed while running within the debugger, indicating
the line number specified wasn't the location of a statement that could
be stopped at.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_call_method_%22%25s%22_in_empty_package_%2">Can't call method ``%s'' in empty package ``%s''</A></STRONG><BR>
<DD>
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't have ANYTHING defined
in it, let alone methods. See <A HREF="../../lib/Pod/perlobj.html">the perlobj manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_call_method_%22%25s%22_on_unblessed_refere">Can't call method ``%s'' on unblessed reference</A></STRONG><BR>
<DD>
(F) A method call must know in what package it's supposed to run. It
ordinarily finds this out from the object reference you supply, but
you didn't supply an object reference in this case. A reference isn't
an object reference until it has been blessed. See <A HREF="../../lib/Pod/perlobj.html">the perlobj manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_call_method_%22%25s%22_without_a_package_o">Can't call method ``%s'' without a package or object reference</A></STRONG><BR>
<DD>
(F) You used the syntax of a method call, but the slot filled by the
object reference or package name contains an expression that returns
a defined value which is neither an object reference nor a package name.
Something like this will reproduce the error:
<PRE>
$BADREF = 42;
process $BADREF 1,2,3;
$BADREF->process(1,2,3);</PRE>
<P></P>
<DT><STRONG><A NAME="item_Can%27t_call_method_%22%25s%22_on_an_undefined_val">Can't call method ``%s'' on an undefined value</A></STRONG><BR>
<DD>
(F) You used the syntax of a method call, but the slot filled by the
object reference or package name contains an undefined value.
Something like this will reproduce the error:
<PRE>
$BADREF = undef;
process $BADREF 1,2,3;
$BADREF->process(1,2,3);</PRE>
<P></P>
<DT><STRONG><A NAME="item_Can%27t_chdir_to_%25s">Can't chdir to %s</A></STRONG><BR>
<DD>
(F) You called <CODE>perl -x/foo/bar</CODE>, but <CODE>/foo/bar</CODE> is not a directory
that you can chdir to, possibly because it doesn't exist.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_check_filesystem_of_script_%22%25s%22_for_">Can't check filesystem of script ``%s'' for nosuid</A></STRONG><BR>
<DD>
(P) For some reason you can't check the filesystem of the script for nosuid.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_coerce_%25s_to_integer_in_%25s">Can't coerce %s to integer in %s</A></STRONG><BR>
<DD>
(F) Certain types of SVs, in particular real symbol table entries
(typeglobs), can't be forced to stop being what they are. So you can't
say things like:
<PRE>
*foo += 1;</PRE>
<P>You CAN say</P>
<PRE>
$foo = *foo;
$foo += 1;</PRE>
<P>but then $foo no longer contains a glob.</P>
<P></P>
<DT><STRONG><A NAME="item_Can%27t_coerce_%25s_to_number_in_%25s">Can't coerce %s to number in %s</A></STRONG><BR>
<DD>
(F) Certain types of SVs, in particular real symbol table entries
(typeglobs), can't be forced to stop being what they are.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_coerce_%25s_to_string_in_%25s">Can't coerce %s to string in %s</A></STRONG><BR>
<DD>
(F) Certain types of SVs, in particular real symbol table entries
(typeglobs), can't be forced to stop being what they are.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_coerce_array_into_hash">Can't coerce array into hash</A></STRONG><BR>
<DD>
(F) You used an array where a hash was expected, but the array has no
information on how to map from keys to array indices. You can do that
only with arrays that have a hash reference at index 0.
(P) An error peculiar to VMS. The process is suffering from exhausted quotas
or other plumbing problems.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_declare_class_for_non%2Dscalar_%25s_in_%22">Can't declare class for non-scalar %s in ``%s''</A></STRONG><BR>
<DD>
(S) Currently, only scalar variables can declared with a specific class
qualifier in a ``my'' or ``our'' declaration. The semantics may be extended
for other types of variables in future.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_declare_%25s_in_%22%25s%22">Can't declare %s in ``%s''</A></STRONG><BR>
<DD>
(F) Only scalar, array, and hash variables may be declared as ``my'' or
``our'' variables. They must have ordinary identifiers as names.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_inplace_edit_on_%25s%3A_%25s">Can't do inplace edit on %s: %s</A></STRONG><BR>
<DD>
(S inplace) The creation of the new file failed for the indicated reason.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_inplace_edit_without_backup">Can't do inplace edit without backup</A></STRONG><BR>
<DD>
(F) You're on a system such as MS-DOS that gets confused if you try reading
from a deleted (but still opened) file. You have to say <CODE>-i.bak</CODE>, or some
such.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_inplace_edit%3A_%25s_would_not_be_uniqu">Can't do inplace edit: %s would not be unique</A></STRONG><BR>
<DD>
(S inplace) Your filesystem does not support filenames longer than 14
characters and Perl was unable to create a unique filename during
inplace editing with the <STRONG>-i</STRONG> switch. The file was ignored.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_inplace_edit%3A_%25s_is_not_a_regular_f">Can't do inplace edit: %s is not a regular file</A></STRONG><BR>
<DD>
(S inplace) You tried to use the <STRONG>-i</STRONG> switch on a special file, such as a file in
/dev, or a FIFO. The file was ignored.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_setegid%21">Can't do setegid!</A></STRONG><BR>
<DD>
(P) The <A HREF="#item_setegid"><CODE>setegid()</CODE></A> call failed for some reason in the setuid emulator
of suidperl.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_seteuid%21">Can't do seteuid!</A></STRONG><BR>
<DD>
(P) The setuid emulator of suidperl failed for some reason.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_setuid">Can't do setuid</A></STRONG><BR>
<DD>
(F) This typically means that ordinary perl tried to exec suidperl to
do setuid emulation, but couldn't exec it. It looks for a name of the
form sperl5.000 in the same directory that the perl executable resides
under the name perl5.000, typically /usr/local/bin on Unix machines.
If the file is there, check the execute permissions. If it isn't, ask
your sysadmin why he and/or she removed it.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_waitpid_with_flags">Can't do waitpid with flags</A></STRONG><BR>
<DD>
(F) This machine doesn't have either <A HREF="../../lib/Pod/perlfunc.html#item_waitpid"><CODE>waitpid()</CODE></A> or wait4(), so only <A HREF="../../lib/Pod/perlfunc.html#item_waitpid"><CODE>waitpid()</CODE></A>
without flags is emulated.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_do_%7Bn%2Cm%7D_with_n_%3E_m">Can't do {n,m} with n > m</A></STRONG><BR>
<DD>
(F) Minima must be less than or equal to maxima. If you really want
your regexp to match something 0 times, just put {0}. See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_emulate_%2D%25s_on_%23%21_line">Can't emulate -%s on #! line</A></STRONG><BR>
<DD>
(F) The #! line specifies a switch that doesn't make sense at this point.
For example, it'd be kind of silly to put a <STRONG>-x</STRONG> on the #! line.
(F) You said to <A HREF="../../lib/Pod/perlfunc.html#item_do"><CODE>do</CODE></A> (or <A HREF="../../lib/Pod/perlfunc.html#item_require"><CODE>require</CODE></A>, or <A HREF="../../lib/Pod/perlfunc.html#item_use"><CODE>use</CODE></A>) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file. Perhaps you need
to set the PERL5LIB or PERL5OPT environment variable to say where the extra
library is, or maybe the script needs to add the library name to @INC. Or
maybe you just misspelled the name of the file. See <A HREF="../../lib/Pod/perlfunc.html#require">require in the perlfunc manpage</A>
and <A HREF="../../lib/lib.html">the lib manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_locate_object_method_%22%25s%22_via_packag">Can't locate object method ``%s'' via package ``%s''</A></STRONG><BR>
<DD>
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See <A HREF="../../lib/Pod/perlobj.html">the perlobj manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_locate_package_%25s_for_%40%25s%3A%3AISA">Can't locate package %s for @%s::ISA</A></STRONG><BR>
<DD>
(W syntax) The @ISA array contained the name of another package that doesn't seem
to exist.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_make_list_assignment_to_%5C%25ENV_on_this_">Can't make list assignment to \%ENV on this system</A></STRONG><BR>
<DD>
(F) List assignment to %ENV is not supported on some systems, notably VMS.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_modify_%25s_in_%25s">Can't modify %s in %s</A></STRONG><BR>
<DD>
(F) You aren't allowed to assign to the item indicated, or otherwise try to
(F) You tried to unshift an ``unreal'' array that can't be unshifted, such
as the main Perl stack.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_upgrade_that_kind_of_scalar">Can't upgrade that kind of scalar</A></STRONG><BR>
<DD>
(P) The internal sv_upgrade routine adds ``members'' to an SV, making
it into a more specialized kind of SV. The top several SV types are
so specialized, however, that they cannot be interconverted. This
message indicates that such a conversion was attempted.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_upgrade_to_undef">Can't upgrade to undef</A></STRONG><BR>
<DD>
(P) The undefined SV is the bottom of the totem pole, in the scheme
of upgradability. Upgrading to undef indicates an error in the
code calling sv_upgrade.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_%25%25%21_because_Errno%2Epm_is_not_av">Can't use %%! because Errno.pm is not available</A></STRONG><BR>
<DD>
(F) The first time the %! hash is used, perl automatically loads the
Errno.pm module. The Errno module is expected to tie the %! hash to
provide symbolic names for <CODE>$!</CODE> errno values.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_%22my_%25s%22_in_sort_comparison">Can't use ``my %s'' in sort comparison</A></STRONG><BR>
<DD>
(F) The global variables $a and $b are reserved for sort comparisons.
You mentioned $a or $b in the same line as the <=> or cmp operator,
and the variable had earlier been declared as a lexical variable.
Either qualify the sort variable with the package name, or rename the
lexical variable.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_%25s_for_loop_variable">Can't use %s for loop variable</A></STRONG><BR>
<DD>
(F) Only a simple scalar variable may be used as a loop variable on a foreach.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_%25s_ref_as_%25s_ref">Can't use %s ref as %s ref</A></STRONG><BR>
<DD>
(F) You've mixed up your reference types. You have to dereference a
reference of the type needed. You can use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A> function to
test the type of the reference, if need be.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_%5C%25c_to_mean_%24%25c_in_expression">Can't use \%c to mean $%c in expression</A></STRONG><BR>
<DD>
(W syntax) In an ordinary expression, backslash is a unary operator that creates
a reference to its argument. The use of backslash to indicate a backreference
to a matched substring is valid only as part of a regular expression pattern.
Trying to do this in ordinary Perl code produces a value that prints
out looking like SCALAR(0xdecaf). Use the $1 form instead.
<P></P>
<DT><STRONG><A NAME="item_bareword">Can't use bareword (``%s'') as %s ref while ``strict refs'' in use</A></STRONG><BR>
<DD>
(F) Only hard references are allowed by ``strict refs''. Symbolic references
are disallowed. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_string">Can't use string (``%s'') as %s ref while ``strict refs'' in use</A></STRONG><BR>
<DD>
(F) Only hard references are allowed by ``strict refs''. Symbolic references
are disallowed. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_an_undefined_value_as_%25s_reference">Can't use an undefined value as %s reference</A></STRONG><BR>
<DD>
(F) A value used as either a hard reference or a symbolic reference must
be a defined value. This helps to delurk some insidious errors.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_global_%25s_in_%22my%22">Can't use global %s in ``my''</A></STRONG><BR>
<DD>
(F) You tried to declare a magical variable as a lexical variable. This is
not allowed, because the magic can be tied to only one location (namely
the global variable) and it would be incredibly confusing to have
variables in your program that looked like magical variables but
weren't.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_use_subscript_on_%25s">Can't use subscript on %s</A></STRONG><BR>
<DD>
(F) The compiler tried to interpret a bracketed expression as a
subscript. But to the left of the brackets was an expression that
didn't look like an array reference, or anything else subscriptable.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_weaken_a_nonreference">Can't weaken a nonreference</A></STRONG><BR>
<DD>
(F) You attempted to weaken something that was not a reference. Only
references can be weakened.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_x%3D_to_read%2Donly_value">Can't x= to read-only value</A></STRONG><BR>
<DD>
(F) You tried to repeat a constant value (often the undefined value) with
an assignment operator, which implies modifying the value itself.
Perhaps you need to copy the value to a temporary, and repeat that.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_find_an_opnumber_for_%22%25s%22">Can't find an opnumber for ``%s''</A></STRONG><BR>
<DD>
(F) A string of a form <CODE>CORE::word</CODE> was given to prototype(), but
there is no builtin with the name <CODE>word</CODE>.
<P></P>
<DT><STRONG><A NAME="item_Can%27t_resolve_method_%60%25s%27_overloading_%60%">Can't resolve method `%s' overloading `%s' in package `%s'</A></STRONG><BR>
<DD>
(F|P) Error resolving overloading specified by a method name (as
opposed to a subroutine reference): no such method callable via the
package. If method name is <CODE>???</CODE>, this is an internal error.
<P></P>
<DT><STRONG><A NAME="item_Character_class_%5B%3A%25s%3A%5D_unknown">Character class [:%s:] unknown</A></STRONG><BR>
<DD>
(F) The class in the character class [: :] syntax is unknown.
See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Character_class_syntax_%5B%25s%5D_belongs_inside_c">Character class syntax [%s] belongs inside character classes</A></STRONG><BR>
<DD>
(W unsafe) The character class constructs [: :], [= =], and [. .] go
<EM>inside</EM> character classes, the [] are part of the construct,
for example: /[012[:alpha:]345]/. Note that [= =] and [. .]
are not currently implemented; they are simply placeholders for
future extensions.
<P></P>
<DT><STRONG><A NAME="item_Character_class_syntax_%5B%2E_%2E%5D_is_reserved_f">Character class syntax [. .] is reserved for future extensions</A></STRONG><BR>
<DD>
(W regexp) Within regular expression character classes ([]) the syntax beginning
with ``[.'' and ending with ``.]'' is reserved for future extensions.
If you need to represent those character sequences inside a regular
expression character class, just quote the square brackets with the
backslash: ``\[.'' and ``.\]''.
<P></P>
<DT><STRONG><A NAME="item_Character_class_syntax_%5B%3D_%3D%5D_is_reserved_f">Character class syntax [= =] is reserved for future extensions</A></STRONG><BR>
<DD>
(W regexp) Within regular expression character classes ([]) the syntax
beginning with ``[='' and ending with ``=]'' is reserved for future extensions.
If you need to represent those character sequences inside a regular
expression character class, just quote the square brackets with the
backslash: ``\[='' and ``=\]''.
<P></P>
<DT><STRONG><A NAME="item_chmod"><CODE>chmod()</CODE> mode argument is missing initial 0</A></STRONG><BR>
<DD>
(W chmod) A novice will sometimes say
<PRE>
chmod 777, $filename</PRE>
<P>not realizing that 777 will be interpreted as a decimal number, equivalent
to 01411. Octal constants are introduced with a leading 0 in Perl, as in C.</P>
<P></P>
<DT><STRONG><A NAME="item_Close_on_unopened_file_%3C%25s%3E">Close on unopened file <%s></A></STRONG><BR>
<DD>
(W unopened) You tried to close a filehandle that was never opened.
<P></P>
<DT><STRONG><A NAME="item_Compilation_failed_in_require">Compilation failed in require</A></STRONG><BR>
<DD>
(F) Perl could not compile a file specified in a <A HREF="../../lib/Pod/perlfunc.html#item_require"><CODE>require</CODE></A> statement.
Perl uses this generic message when none of the errors that it encountered
were severe enough to halt compilation immediately.
(W regexp) The regular expression engine uses recursion in complex situations
where back-tracking is required. Recursion depth is limited to 32766,
or perhaps less in architectures where the stack cannot grow
arbitrarily. (``Simple'' and ``medium'' situations are handled without
recursion and are not subject to a limit.) Try shortening the string
under examination; looping in Perl code (e.g. with <CODE>while</CODE>) rather
than in the regular expression engine; or rewriting the regular
expression so that it is simpler or backtracks less. (See <A HREF="../../lib/Pod/perlbook.html">the perlbook manpage</A>
for information on <EM>Mastering Regular Expressions</EM>.)
<P></P>
<DT><STRONG><A NAME="item_connect"><CODE>connect()</CODE> on closed socket %s</A></STRONG><BR>
<DD>
(W closed) You tried to do a connect on a closed socket. Did you forget to check
the return value of your <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call? See <A HREF="../../lib/Pod/perlfunc.html#connect">connect in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Constant_is_not_%25s_reference">Constant is not %s reference</A></STRONG><BR>
<DD>
(F) A constant value (perhaps declared using the <CODE>use constant</CODE> pragma)
is being dereferenced, but it amounts to the wrong type of reference. The
message indicates the type of reference that was expected. This usually
indicates a syntax error in dereferencing the constant value.
See <A HREF="../../lib/Pod/perlsub.html#constant functions">Constant Functions in the perlsub manpage</A> and <A HREF="../../lib/constant.html">the constant manpage</A>.
(F) The parser found inconsistencies either while attempting to define an
overloaded constant, or when trying to find the character name specified
in the <CODE>\N{...}</CODE> escape. Perhaps you forgot to load the corresponding
<CODE>overload</CODE> or <CODE>charnames</CODE> pragma? See <A HREF="../../lib/charnames.html">the charnames manpage</A> and <A HREF="../../lib/overload.html">the overload manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Copy_method_did_not_return_a_reference">Copy method did not return a reference</A></STRONG><BR>
<DD>
(F) The method which overloads ``='' is buggy. See <A HREF="../../lib/overload.html#copy constructor">Copy Constructor in the overload manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_CORE%3A%3A%25s_is_not_a_keyword">CORE::%s is not a keyword</A></STRONG><BR>
<DD>
(F) The CORE:: namespace is reserved for Perl keywords.
<P></P>
<DT><STRONG><A NAME="item_Corrupt_malloc_ptr_0x%25lx_at_0x%25lx">Corrupt malloc ptr 0x%lx at 0x%lx</A></STRONG><BR>
<DD>
(P) The malloc package that comes with Perl had an internal failure.
(F) An error peculiar to VMS. Because Perl may have to deal with file
specifications in either VMS or Unix syntax, it converts them to a
single form when it must operate on them directly. Either you've
passed an invalid file specification to Perl, or you've found a
case the conversion routines don't handle. Drat.
<P></P>
<DT><STRONG>%s: Eval-group in insecure regular expression</STRONG><BR>
<DD>
(F) Perl detected tainted data when trying to compile a regular expression
that contains the <CODE>(?{ ... })</CODE> zero-width assertion, which is unsafe.
See <A HREF="../../lib/Pod/perlre.html#({ code })">(?{ code }) in the perlre manpage</A>, and <A HREF="../../lib/Pod/perlsec.html">the perlsec manpage</A>.
<P></P>
<DT><STRONG>%s: Eval-group not allowed, use re 'eval'</STRONG><BR>
<DD>
(F) A regular expression contained the <CODE>(?{ ... })</CODE> zero-width assertion,
but that construct is only allowed when the <CODE>use re 'eval'</CODE> pragma is
in effect. See <A HREF="../../lib/Pod/perlre.html#({ code })">(?{ code }) in the perlre manpage</A>.
<P></P>
<DT><STRONG>%s: Eval-group not allowed at run time</STRONG><BR>
<DD>
(F) Perl tried to compile a regular expression containing the <CODE>(?{ ... })</CODE>
zero-width assertion at run time, as it would when the pattern contains
interpolated values. Since that is a security risk, it is not allowed.
If you insist, you may still do this by explicitly building the pattern
from an interpolated string at run time and using that in an eval().
See <A HREF="../../lib/Pod/perlre.html#({ code })">(?{ code }) in the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Excessively_long_%3C%3E_operator">Excessively long <> operator</A></STRONG><BR>
<DD>
(F) The contents of a <> operator may not exceed the maximum size of a
Perl identifier. If you're just trying to glob a long list of
filenames, try using the <A HREF="../../lib/Pod/perlfunc.html#item_glob"><CODE>glob()</CODE></A> operator, or put the filenames into a
variable and glob that.
<P></P>
<DT><STRONG><A NAME="item_Execution_of_%25s_aborted_due_to_compilation_error">Execution of %s aborted due to compilation errors</A></STRONG><BR>
<DD>
(F) The final summary message when a Perl compilation fails.
<P></P>
<DT><STRONG><A NAME="item_Exiting_eval_via_%25s">Exiting eval via %s</A></STRONG><BR>
<DD>
(W exiting) You are exiting an eval by unconventional means, such as
a goto, or a loop control statement.
<P></P>
<DT><STRONG><A NAME="item_Exiting_format_via_%25s">Exiting format via %s</A></STRONG><BR>
<DD>
(W exiting) You are exiting an eval by unconventional means, such as
a goto, or a loop control statement.
<P></P>
<DT><STRONG><A NAME="item_Exiting_pseudo%2Dblock_via_%25s">Exiting pseudo-block via %s</A></STRONG><BR>
<DD>
(W exiting) You are exiting a rather special block construct (like a sort block or
subroutine) by unconventional means, such as a goto, or a loop control
statement. See <A HREF="../../lib/Pod/perlfunc.html#sort">sort in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Exiting_subroutine_via_%25s">Exiting subroutine via %s</A></STRONG><BR>
<DD>
(W exiting) You are exiting a subroutine by unconventional means, such as
a goto, or a loop control statement.
<P></P>
<DT><STRONG><A NAME="item_Exiting_substitution_via_%25s">Exiting substitution via %s</A></STRONG><BR>
<DD>
(W exiting) You are exiting a substitution by unconventional means, such as
a return, a goto, or a loop control statement.
<P></P>
<DT><STRONG><A NAME="item_Explicit_blessing_to_%27%27_%28assuming_package_ma">Explicit blessing to '' (assuming package main)</A></STRONG><BR>
<DD>
(W misc) You are blessing a reference to a zero length string. This has
the effect of blessing the reference into the package main. This is
usually not what you want. Consider providing a default target
package, e.g. bless($ref, $p || 'MyPackage');
<P></P>
<DT><STRONG><A NAME="item_false_%5B%5D_range_%22%25s%22_in_regexp">false [] range ``%s'' in regexp</A></STRONG><BR>
<DD>
(W regexp) A character class range must start and end at a literal character, not
another character class like <CODE>\d</CODE> or <CODE>[:alpha:]</CODE>. The ``-'' in your false
range is interpreted as a literal ``-''. Consider quoting the ``-'', ``\-''.
See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Fatal_VMS_error_at_%25s%2C_line_%25d">Fatal VMS error at %s, line %d</A></STRONG><BR>
<DD>
(P) An error peculiar to VMS. Something untoward happened in a VMS system
service or RTL routine; Perl's exit status should provide more details. The
filename in ``at %s'' and the line number in ``line %d'' tell you which section of
the Perl source code is distressed.
<P></P>
<DT><STRONG><A NAME="item_fcntl_is_not_implemented">fcntl is not implemented</A></STRONG><BR>
<DD>
(F) Your machine apparently doesn't implement fcntl(). What is this, a
PDP-11 or something?
<P></P>
<DT><STRONG><A NAME="item_Filehandle_%25s_never_opened">Filehandle %s never opened</A></STRONG><BR>
<DD>
(W unopened) An I/O operation was attempted on a filehandle that was never initialized.
You need to do an <A HREF="#item_open"><CODE>open()</CODE></A> or a <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call, or call a constructor from
the FileHandle package.
<P></P>
<DT><STRONG><A NAME="item_Filehandle_%25s_opened_only_for_input">Filehandle %s opened only for input</A></STRONG><BR>
<DD>
(W io) You tried to write on a read-only filehandle. If you
intended it to be a read-write filehandle, you needed to open it with
``+<'' or ``+>'' or ``+>>'' instead of with ``<'' or nothing. If
you intended only to write the file, use ``>'' or ``>>''. See
<A HREF="../../lib/Pod/perlfunc.html#open">open in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Filehandle_%25s_opened_only_for_output">Filehandle %s opened only for output</A></STRONG><BR>
<DD>
(W io) You tried to read from a filehandle opened only for writing. If you
intended it to be a read/write filehandle, you needed to open it with
``+<'' or ``+>'' or ``+>>'' instead of with ``<'' or nothing. If
you intended only to read from the file, use ``<''. See
<A HREF="../../lib/Pod/perlfunc.html#open">open in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Final_%24_should_be_%5C%24_or_%24name">Final $ should be \$ or $name</A></STRONG><BR>
<DD>
(F) You must now decide whether the final $ in a string was meant to be
a literal dollar sign, or was meant to introduce a variable name
that happens to be missing. So you have to put either the backslash or
the name.
<P></P>
<DT><STRONG><A NAME="item_Final_%40_should_be_%5C%40_or_%40name">Final @ should be \@ or @name</A></STRONG><BR>
<DD>
(F) You must now decide whether the final @ in a string was meant to be
a literal ``at'' sign, or was meant to introduce a variable name
that happens to be missing. So you have to put either the backslash or
the name.
<P></P>
<DT><STRONG><A NAME="item_flock"><CODE>flock()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're attempting to <A HREF="#item_flock"><CODE>flock()</CODE></A> got itself closed some
time before now. Check your logic flow. <A HREF="#item_flock"><CODE>flock()</CODE></A> operates on filehandles.
Are you attempting to call <A HREF="#item_flock"><CODE>flock()</CODE></A> on a dirhandle by the same name?
(W digit) You may have tried to use a character other than 0 - 9 or A - F, a - f
in a hexadecimal number. Interpretation of the hexadecimal number stopped
before the illegal character.
<P></P>
<DT><STRONG><A NAME="item_Illegal_number_of_bits_in_vec">Illegal number of bits in vec</A></STRONG><BR>
<DD>
(F) The number of bits in <A HREF="../../lib/Pod/perlfunc.html#item_vec"><CODE>vec()</CODE></A> (the third argument) must be a power of
two from 1 to 32 (or 64, if your platform supports that).
<P></P>
<DT><STRONG><A NAME="item_Illegal_switch_in_PERL5OPT%3A_%25s">Illegal switch in PERL5OPT: %s</A></STRONG><BR>
<DD>
(X) The PERL5OPT environment variable may only be used to set the
following switches: <STRONG>-[DIMUdmw]</STRONG>.
<P></P>
<DT><STRONG><A NAME="item_In_string%2C_%40%25s_now_must_be_written_as_%5C%40">In string, @%s now must be written as \@%s</A></STRONG><BR>
<DD>
(F) It used to be that Perl would try to guess whether you wanted an
array interpolated or a literal @. It did this when the string was first
used at runtime. Now strings are parsed at compile time, and ambiguous
instances of @ must be disambiguated, either by prepending a backslash to
indicate a literal, or by declaring (or using) the array within the
program before the string (lexically). (Someday it will simply assume
that an unbackslashed @ interpolates an array.)
<P></P>
<DT><STRONG><A NAME="item_Insecure_dependency_in_%25s">Insecure dependency in %s</A></STRONG><BR>
<DD>
(F) You tried to do something that the tainting mechanism didn't like.
The tainting mechanism is turned on when you're running setuid or setgid,
or when you specify <STRONG>-T</STRONG> to turn it on explicitly. The tainting mechanism
labels all data that's derived directly or indirectly from the user,
who is considered to be unworthy of your trust. If any such data is
used in a ``dangerous'' operation, you get this error. See <A HREF="../../lib/Pod/perlsec.html">the perlsec manpage</A>
for more information.
<P></P>
<DT><STRONG><A NAME="item_Insecure_directory_in_%25s">Insecure directory in %s</A></STRONG><BR>
<DD>
(F) You can't use system(), exec(), or a piped open in a setuid or setgid
script if <CODE>$ENV{PATH}</CODE> contains a directory that is writable by the world.
See <A HREF="../../lib/Pod/perlsec.html">the perlsec manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Insecure_%24ENV%7B%25s%7D_while_running_%25s">Insecure $ENV{%s} while running %s</A></STRONG><BR>
<DD>
(F) You can't use system(), exec(), or a piped open in a setuid or
setgid script if any of <CODE>$ENV{PATH}</CODE>, <CODE>$ENV{IFS}</CODE>, <CODE>$ENV{CDPATH}</CODE>,
<CODE>$ENV{ENV}</CODE> or <CODE>$ENV{BASH_ENV}</CODE> are derived from data supplied (or
potentially supplied) by the user. The script must set the path to a
known value, using trustworthy data. See <A HREF="../../lib/Pod/perlsec.html">the perlsec manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Integer_overflow_in_%25s_number">Integer overflow in %s number</A></STRONG><BR>
<DD>
(W overflow) The hexadecimal, octal or binary number you have specified either
as a literal or as an argument to <A HREF="../../lib/Pod/perlfunc.html#item_hex"><CODE>hex()</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_oct"><CODE>oct()</CODE></A> is too big for your
architecture, and has been converted to a floating point number. On a
32-bit architecture the largest hexadecimal, octal or binary number
representable without overflow is 0xFFFFFFFF, 037777777777, or
0b11111111111111111111111111111111 respectively. Note that Perl
transparently promotes all numbers to a floating point representation
internally--subject to loss of precision errors in subsequent
operations.
<P></P>
<DT><STRONG><A NAME="item_Internal_inconsistency_in_tracking_vforks">Internal inconsistency in tracking vforks</A></STRONG><BR>
<DD>
(S) A warning peculiar to VMS. Perl keeps track of the number
of times you've called <A HREF="../../lib/Pod/perlfunc.html#item_fork"><CODE>fork</CODE></A> and <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec</CODE></A>, to determine
whether the current call to <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec</CODE></A> should affect the current
script or a subprocess (see <A HREF="../../lib/Pod/perlvms.html#exec list">exec LIST in the perlvms manpage</A>). Somehow, this count
has become scrambled, so Perl is making a guess and treating
this <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec</CODE></A> as a request to terminate the Perl script
and execute the specified command.
<P></P>
<DT><STRONG><A NAME="item_internal_disaster_in_regexp">internal disaster in regexp</A></STRONG><BR>
<DD>
(P) Something went badly wrong in the regular expression parser.
<P></P>
<DT><STRONG><A NAME="item_internal_urp_in_regexp_at_%2F%25s%2F">internal urp in regexp at /%s/</A></STRONG><BR>
<DD>
(P) Something went badly awry in the regular expression parser.
(F) While under the <CODE>use filetest</CODE> pragma, switching the real and
effective uids or gids failed.
<P></P>
<DT><STRONG><A NAME="item_listen"><CODE>listen()</CODE> on closed socket %s</A></STRONG><BR>
<DD>
(W closed) You tried to do a listen on a closed socket. Did you forget to check
the return value of your <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call? See <A HREF="../../lib/Pod/perlfunc.html#listen">listen in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Lvalue_subs_returning_%25s_not_implemented_yet">Lvalue subs returning %s not implemented yet</A></STRONG><BR>
<DD>
(F) Due to limitations in the current implementation, array and hash
values cannot be returned in subroutines used in lvalue context.
See <A HREF="../../lib/Pod/perlsub.html#lvalue subroutines">Lvalue subroutines in the perlsub manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Method_for_operation_%25s_not_found_in_package_%25">Method for operation %s not found in package %s during blessing</A></STRONG><BR>
<DD>
(F) An attempt was made to specify an entry in an overloading table that
doesn't resolve to a valid subroutine. See <A HREF="../../lib/overload.html">the overload manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Method_%25s_not_permitted">Method %s not permitted</A></STRONG><BR>
<DD>
See Server error.
<P></P>
<DT><STRONG><A NAME="item_Might_be_a_runaway_multi%2Dline_%25s_string_starti">Might be a runaway multi-line %s string starting on line %d</A></STRONG><BR>
<DD>
(S) An advisory indicating that the previous error may have been caused
by a missing delimiter on a string or pattern, because it eventually
ended earlier on the current line.
<P></P>
<DT><STRONG><A NAME="item_Misplaced___in_number">Misplaced _ in number</A></STRONG><BR>
<DD>
(W syntax) An underline in a decimal constant wasn't on a 3-digit boundary.
<P></P>
<DT><STRONG><A NAME="item_Missing_%24_on_loop_variable">Missing $ on loop variable</A></STRONG><BR>
<DD>
(F) Apparently you've been programming in <STRONG>csh</STRONG> too much. Variables are always
mentioned with the $ in Perl, unlike in the shells, where it can vary from
one line to the next.
<P></P>
<DT><STRONG><A NAME="item_Missing_%25sbrace%25s_on_%5CN%7B%7D">Missing %sbrace%s on \N{}</A></STRONG><BR>
<DD>
(F) Wrong syntax of character name literal <CODE>\N{charname}</CODE> within
double-quotish context.
<P></P>
<DT><STRONG><A NAME="item_Missing_comma_after_first_argument_to_%25s_functio">Missing comma after first argument to %s function</A></STRONG><BR>
<DD>
(F) While certain functions allow you to specify a filehandle or an
``indirect object'' before the argument list, this ain't one of them.
<P></P>
<DT><STRONG><A NAME="item_Missing_command_in_piped_open">Missing command in piped open</A></STRONG><BR>
<DD>
(W pipe) You used the <A HREF="#item_open"><CODE>open(FH, "| command")</CODE></A> or <A HREF="#item_open"><CODE>open(FH, "command |")</CODE></A>
construction, but the command was missing or blank.
<P></P>
<DT><STRONG><A NAME="item_%28Missing_operator_before_%25s%3F%29">(Missing operator before %s?)</A></STRONG><BR>
<DD>
(S) This is an educated guess made in conjunction with the message ``%s
found where operator expected''. Often the missing operator is a comma.
<P></P>
<DT><STRONG><A NAME="item_Missing_right_curly_or_square_bracket">Missing right curly or square bracket</A></STRONG><BR>
<DD>
(F) The lexer counted more opening curly or square brackets than
closing ones. As a general rule, you'll find it's missing near the place
you were last editing.
<P></P>
<DT><STRONG><A NAME="item_Modification_of_a_read%2Donly_value_attempted">Modification of a read-only value attempted</A></STRONG><BR>
<DD>
(F) You tried, directly or indirectly, to change the value of a
constant. You didn't, of course, try ``2 = 1'', because the compiler
catches that. But an easy way to do the same thing is:
<PRE>
sub mod { $_[0] = 1 }
mod(2);</PRE>
<P>Another way is to assign to a <A HREF="../../lib/Pod/perlfunc.html#item_substr"><CODE>substr()</CODE></A> that's off the end of the string.</P>
<P></P>
<DT><STRONG><A NAME="item_Modification_of_non%2Dcreatable_array_value_attemp">Modification of non-creatable array value attempted, subscript %d</A></STRONG><BR>
<DD>
(F) You tried to make an array value spring into existence, and the
subscript was probably negative, even counting from end of the array
backwards.
<P></P>
<DT><STRONG><A NAME="item_Modification_of_non%2Dcreatable_hash_value_attempt">Modification of non-creatable hash value attempted, subscript ``%s''</A></STRONG><BR>
<DD>
(P) You tried to make a hash value spring into existence, and it couldn't
be created for some peculiar reason.
<P></P>
<DT><STRONG><A NAME="item_Module_name_must_be_constant">Module name must be constant</A></STRONG><BR>
<DD>
(F) Only a bare module name is allowed as the first argument to a ``use''.
<P></P>
<DT><STRONG><A NAME="item_msg%25s_not_implemented">msg%s not implemented</A></STRONG><BR>
<DD>
(F) You don't have System V message IPC on your system.
<P></P>
<DT><STRONG><A NAME="item_Multidimensional_syntax_%25s_not_supported">Multidimensional syntax %s not supported</A></STRONG><BR>
<DD>
(W syntax) Multidimensional arrays aren't written like <CODE>$foo[1,2,3]</CODE>. They're written
like <CODE>$foo[1][2][3]</CODE>, as in C.
<P></P>
<DT><STRONG><A NAME="item_Missing_name_in_%22my_sub%22">Missing name in ``my sub''</A></STRONG><BR>
<DD>
(F) The reserved syntax for lexically scoped subroutines requires that they
have a name with which they can be found.
<P></P>
<DT><STRONG><A NAME="item_Name_%22%25s%3A%3A%25s%22_used_only_once%3A_possib">Name ``%s::%s'' used only once: possible typo</A></STRONG><BR>
<DD>
(W once) Typographical errors often show up as unique variable names.
If you had a good reason for having a unique name, then just mention
it again somehow to suppress the message. The <A HREF="../../lib/Pod/perlfunc.html#item_our"><CODE>our</CODE></A> declaration is
(F) The setuid emulator requires that scripts have a well-formed #! line
even on machines that don't support the #! construct.
<P></P>
<DT><STRONG><A NAME="item_No_%25s_allowed_while_running_setuid">No %s allowed while running setuid</A></STRONG><BR>
<DD>
(F) Certain operations are deemed to be too insecure for a setuid or setgid
script to even be allowed to attempt. Generally speaking there will be
another way to do what you want that is, if not secure, at least securable.
See <A HREF="../../lib/Pod/perlsec.html">the perlsec manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_No_%2De_allowed_in_setuid_scripts">No <STRONG>-e</STRONG> allowed in setuid scripts</A></STRONG><BR>
<DD>
(F) A setuid script can't be specified by the user.
<P></P>
<DT><STRONG><A NAME="item_No_%25s_specified_for_%2D%25c">No %s specified for -%c</A></STRONG><BR>
<DD>
(F) The indicated command line switch needs a mandatory argument, but
you haven't specified one.
<P></P>
<DT><STRONG><A NAME="item_No_comma_allowed_after_%25s">No comma allowed after %s</A></STRONG><BR>
<DD>
(F) A list operator that has a filehandle or ``indirect object'' is not
allowed to have a comma between that and the following arguments.
Otherwise it'd be just another one of the arguments.
<P>One possible cause for this is that you expected to have imported a
constant to your name space with <STRONG>use</STRONG> or <STRONG>import</STRONG> while no such
importing took place, it may for example be that your operating system
does not support that particular constant. Hopefully you did use an
explicit import list for the constants you expect to see, please see
<A HREF="../../lib/Pod/perlfunc.html#use">use in the perlfunc manpage</A> and <A HREF="../../lib/Pod/perlfunc.html#import">import in the perlfunc manpage</A>. While an explicit import list
would probably have caught this error earlier it naturally does not
remedy the fact that your operating system still does not support that
constant. Maybe you have a typo in the constants of the symbol import
list of <STRONG>use</STRONG> or <STRONG>import</STRONG> or in the constant name at the line where
this error was triggered?</P>
<P></P>
<DT><STRONG><A NAME="item_No_command_into_which_to_pipe_on_command_line">No command into which to pipe on command line</A></STRONG><BR>
<DD>
(F) An error peculiar to VMS. Perl handles its own command line redirection,
and found a '|' at the end of the command line, so it doesn't know where you
(F) Configure didn't find anything resembling the <CODE>setreuid()</CODE> call for
your system.
<P></P>
<DT><STRONG><A NAME="item_No_space_allowed_after_%2D%25c">No space allowed after -%c</A></STRONG><BR>
<DD>
(F) The argument to the indicated command line switch must follow immediately
after the switch, without intervening spaces.
<P></P>
<DT><STRONG><A NAME="item_No_such_pseudo%2Dhash_field_%22%25s%22">No such pseudo-hash field ``%s''</A></STRONG><BR>
<DD>
(F) You tried to access an array as a hash, but the field name used is
not defined. The hash at index 0 should map all valid field names to
array indices for that to work.
<P></P>
<DT><STRONG><A NAME="item_No_such_pseudo%2Dhash_field_%22%25s%22_in_variable">No such pseudo-hash field ``%s'' in variable %s of type %s</A></STRONG><BR>
<DD>
(F) You tried to access a field of a typed variable where the type
does not know about the field name. The field names are looked up in
the %FIELDS hash in the type package at compile time. The %FIELDS hash
is usually set up with the 'fields' pragma.
<P></P>
<DT><STRONG><A NAME="item_No_such_pipe_open">No such pipe open</A></STRONG><BR>
<DD>
(P) An error peculiar to VMS. The internal routine <CODE>my_pclose()</CODE> tried to
close a pipe which hadn't been opened. This should have been caught earlier as
an attempt to close an unopened filehandle.
<P></P>
<DT><STRONG><A NAME="item_No_such_signal%3A_SIG%25s">No such signal: SIG%s</A></STRONG><BR>
<DD>
(W signal) You specified a signal name as a subscript to %SIG that was not recognized.
Say <CODE>kill -l</CODE> in your shell to see the valid signal names on your system.
<P></P>
<DT><STRONG><A NAME="item_no_UTC_offset_information%3B_assuming_local_time_i">no UTC offset information; assuming local time is UTC</A></STRONG><BR>
<DD>
(S) A warning peculiar to VMS. Perl was unable to find the local
timezone offset, so it's assuming that local system time is equivalent
to UTC. If it's not, define the logical name <EM>SYS$TIMEZONE_DIFFERENTIAL</EM>
to translate to the number of seconds which need to be added to UTC to
get local time.
<P></P>
<DT><STRONG><A NAME="item_Not_a_CODE_reference">Not a CODE reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to a code value (that is, a
subroutine), but found a reference to something else instead. You can
use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A> function to find out what kind of ref it really was.
See also <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_a_format_reference">Not a format reference</A></STRONG><BR>
<DD>
(F) I'm not sure how you managed to generate a reference to an anonymous
format, but this indicates you did, and that it didn't exist.
<P></P>
<DT><STRONG><A NAME="item_Not_a_GLOB_reference">Not a GLOB reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to a ``typeglob'' (that is,
a symbol table entry that looks like <CODE>*foo</CODE>), but found a reference to
something else instead. You can use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A> function to find out
what kind of ref it really was. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_a_HASH_reference">Not a HASH reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to a hash value, but
found a reference to something else instead. You can use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A>
function to find out what kind of ref it really was. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_a_perl_script">Not a perl script</A></STRONG><BR>
<DD>
(F) The setuid emulator requires that scripts have a well-formed #! line
even on machines that don't support the #! construct. The line must
mention perl.
<P></P>
<DT><STRONG><A NAME="item_Not_a_SCALAR_reference">Not a SCALAR reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to a scalar value, but
found a reference to something else instead. You can use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A>
function to find out what kind of ref it really was. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_a_subroutine_reference">Not a subroutine reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to a code value (that is, a
subroutine), but found a reference to something else instead. You can
use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A> function to find out what kind of ref it really was.
See also <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_a_subroutine_reference_in_overload_table">Not a subroutine reference in overload table</A></STRONG><BR>
<DD>
(F) An attempt was made to specify an entry in an overloading table that
doesn't somehow point to a valid subroutine. See <A HREF="../../lib/overload.html">the overload manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_an_ARRAY_reference">Not an ARRAY reference</A></STRONG><BR>
<DD>
(F) Perl was trying to evaluate a reference to an array value, but
found a reference to something else instead. You can use the <A HREF="../../lib/Pod/perlfunc.html#item_ref"><CODE>ref()</CODE></A>
function to find out what kind of ref it really was. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Not_enough_arguments_for_%25s">Not enough arguments for %s</A></STRONG><BR>
<DD>
(F) The function requires more arguments than you specified.
<P></P>
<DT><STRONG><A NAME="item_Not_enough_format_arguments">Not enough format arguments</A></STRONG><BR>
<DD>
(W syntax) A format specified more picture fields than the next line supplied.
See <A HREF="../../lib/Pod/perlform.html">the perlform manpage</A>.
(F) An <A HREF="../../lib/Pod/perlfunc.html#item_ioctl"><CODE>ioctl()</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_fcntl"><CODE>fcntl()</CODE></A> returned more than Perl was bargaining for.
Perl guesses a reasonable buffer size, but puts a sentinel byte at the
end of the buffer just in case. This sentinel byte got clobbered, and
Perl assumes that memory is now corrupted. See <A HREF="../../lib/Pod/perlfunc.html#ioctl">ioctl in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_pragma_%22attrs%22_is_deprecated%2C_use_%22sub_NAM">pragma ``attrs'' is deprecated, use ``sub NAME : ATTRS'' instead</A></STRONG><BR>
<DD>
(W deprecated) You have written somehing like this:
<PRE>
sub doit
{
use attrs qw(locked);
}</PRE>
<P>You should use the new declaration syntax instead.</P>
<PRE>
sub doit : locked
{
...</PRE>
<P>The <CODE>use attrs</CODE> pragma is now obsolete, and is only provided for
backward-compatibility. See <A HREF="../../lib/Pod/perlsub.html#subroutine attributes">Subroutine Attributes in the perlsub manpage</A>.</P>
<P></P>
<DT><STRONG><A NAME="item_open">Precedence problem: open %s should be <CODE>open(%s)</CODE></A></STRONG><BR>
<DD>
(S precedence) The old irregular construct
<PRE>
open FOO || die;</PRE>
<P>is now misinterpreted as</P>
<PRE>
open(FOO || die);</PRE>
<P>because of the strict regularization of Perl 5's grammar into unary
and list operators. (The old open was a little of both.) You must
put parentheses around the filehandle, or use the new ``or'' operator
instead of ``||''.</P>
<P></P>
<DT><STRONG><A NAME="item_Premature_end_of_script_headers">Premature end of script headers</A></STRONG><BR>
<DD>
See Server error.
<P></P>
<DT><STRONG><A NAME="item_print"><CODE>print()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're printing on got itself closed sometime before now.
Check your logic flow.
<P></P>
<DT><STRONG><A NAME="item_printf"><CODE>printf()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're writing to got itself closed sometime before now.
Check your logic flow.
<P></P>
<DT><STRONG><A NAME="item_Prototype_mismatch%3A_%25s_vs_%25s">Prototype mismatch: %s vs %s</A></STRONG><BR>
<DD>
(S unsafe) The subroutine being declared or defined had previously been declared
(F) One (or both) of the numeric arguments to the range operator ``..''
are outside the range which can be represented by integers internally.
One possible workaround is to force Perl to use magical string
increment by prepending ``0'' to your numbers.
<P></P>
<DT><STRONG><A NAME="item_readline"><CODE>readline()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're reading from got itself closed sometime before now.
Check your logic flow.
<P></P>
<DT><STRONG><CODE>realloc()</CODE> of freed memory ignored</STRONG><BR>
<DD>
(S malloc) An internal routine called <A HREF="#item_realloc"><CODE>realloc()</CODE></A> on something that had already
been freed.
<P></P>
<DT><STRONG><A NAME="item_Reallocation_too_large%3A_%25lx">Reallocation too large: %lx</A></STRONG><BR>
<DD>
(F) You can't allocate more than 64K on an MS-DOS machine.
<P></P>
<DT><STRONG><A NAME="item_Recompile_perl_with_%2DDDEBUGGING_to_use_%2DD_swit">Recompile perl with <STRONG>-D</STRONG>DEBUGGING to use <STRONG>-D</STRONG> switch</A></STRONG><BR>
<DD>
(F debugging) You can't use the <STRONG>-D</STRONG> option unless the code to produce the
desired output is compiled into Perl, which entails some overhead,
which is why it's currently left out of your copy.
<P></P>
<DT><STRONG><A NAME="item_Recursive_inheritance_detected_in_package_%27%25s%">Recursive inheritance detected in package '%s'</A></STRONG><BR>
<DD>
(F) More than 100 levels of inheritance were used. Probably indicates
an unintended loop in your inheritance hierarchy.
<P></P>
<DT><STRONG><A NAME="item_Recursive_inheritance_detected_while_looking_for_m">Recursive inheritance detected while looking for method '%s' in package '%s'</A></STRONG><BR>
<DD>
(F) More than 100 levels of inheritance were encountered while invoking a
method. Probably indicates an unintended loop in your inheritance hierarchy.
<P></P>
<DT><STRONG><A NAME="item_Reference_found_where_even%2Dsized_list_expected">Reference found where even-sized list expected</A></STRONG><BR>
<DD>
(W misc) You gave a single reference where Perl was expecting a list with
an even number of elements (for assignment to a hash). This
usually means that you used the anon hash constructor when you meant
to use parens. In any case, a hash requires key/value <STRONG>pairs</STRONG>.
<PRE>
%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</PRE>
<P></P>
<DT><STRONG><A NAME="item_Reference_is_already_weak">Reference is already weak</A></STRONG><BR>
<DD>
(W misc) You have attempted to weaken a reference that is already weak.
Doing so has no effect.
<P></P>
<DT><STRONG><A NAME="item_sv_replace">Reference miscount in <CODE>sv_replace()</CODE></A></STRONG><BR>
<DD>
(W internal) The internal <A HREF="#item_sv_replace"><CODE>sv_replace()</CODE></A> function was handed a new SV with a
reference count of other than 1.
<P></P>
<DT><STRONG><A NAME="item_regexp_%2A%2B_operand_could_be_empty">regexp *+ operand could be empty</A></STRONG><BR>
<DD>
(F) The part of the regexp subject to either the * or + quantifier
<DT><STRONG><A NAME="item_Script_is_not_setuid%2Fsetgid_in_suidperl">Script is not setuid/setgid in suidperl</A></STRONG><BR>
<DD>
(F) Oddly, the suidperl program was invoked on a script without a setuid
or setgid bit set. This doesn't make much sense.
<P></P>
<DT><STRONG><A NAME="item_Search_pattern_not_terminated">Search pattern not terminated</A></STRONG><BR>
<DD>
(F) The lexer couldn't find the final delimiter of a // or m{}
construct. Remember that bracketing delimiters count nesting level.
Missing the leading <CODE>$</CODE> from a variable <CODE>$m</CODE> may cause this error.
<P></P>
<DT><STRONG><A NAME="item_sseek">%sseek() on unopened file</A></STRONG><BR>
<DD>
(W unopened) You tried to use the <A HREF="../../lib/Pod/perlfunc.html#item_seek"><CODE>seek()</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_sysseek"><CODE>sysseek()</CODE></A> function on a filehandle that
was either never opened or has since been closed.
<P></P>
<DT><STRONG><A NAME="item_select_not_implemented">select not implemented</A></STRONG><BR>
<DD>
(F) This machine doesn't implement the <A HREF="../../lib/Pod/perlfunc.html#item_select"><CODE>select()</CODE></A> system call.
<P></P>
<DT><STRONG><A NAME="item_sem%25s_not_implemented">sem%s not implemented</A></STRONG><BR>
<DD>
(F) You don't have System V semaphore IPC on your system.
<P></P>
<DT><STRONG><A NAME="item_semi%2Dpanic%3A_attempt_to_dup_freed_string">semi-panic: attempt to dup freed string</A></STRONG><BR>
<DD>
(S internal) The internal <CODE>newSVsv()</CODE> routine was called to duplicate a scalar
that had previously been marked as free.
<P></P>
<DT><STRONG><A NAME="item_Semicolon_seems_to_be_missing">Semicolon seems to be missing</A></STRONG><BR>
<DD>
(W semicolon) A nearby syntax error was probably caused by a missing semicolon,
or possibly some other missing operator, such as a comma.
<P></P>
<DT><STRONG><A NAME="item_send"><CODE>send()</CODE> on closed socket %s</A></STRONG><BR>
<DD>
(W closed) The socket you're sending to got itself closed sometime before now.
(P) The split was looping infinitely. (Obviously, a split shouldn't iterate
more times than there are characters of input, which is what happened.)
See <A HREF="../../lib/Pod/perlfunc.html#split">split in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Stat_on_unopened_file_%3C%25s%3E">Stat on unopened file <%s></A></STRONG><BR>
<DD>
(W unopened) You tried to use the <A HREF="../../lib/Pod/perlfunc.html#item_stat"><CODE>stat()</CODE></A> function (or an equivalent file test)
on a filehandle that was either never opened or has since been closed.
<P></P>
<DT><STRONG><A NAME="item_Statement_unlikely_to_be_reached">Statement unlikely to be reached</A></STRONG><BR>
<DD>
(W exec) You did an <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec()</CODE></A> with some statement after it other than a die().
This is almost always an error, because <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec()</CODE></A> never returns unless
there was a failure. You probably wanted to use <A HREF="../../lib/Pod/perlfunc.html#item_system"><CODE>system()</CODE></A> instead,
which does return. To suppress this warning, put the <A HREF="../../lib/Pod/perlfunc.html#item_exec"><CODE>exec()</CODE></A> in a block
by itself.
<P></P>
<DT><STRONG><A NAME="item_Strange_%2A%2B%3F%7B%7D_on_zero%2Dlength_expressio">Strange *+?{} on zero-length expression</A></STRONG><BR>
<DD>
(W regexp) You applied a regular expression quantifier in a place where it
makes no sense, such as on a zero-width assertion.
Try putting the quantifier inside the assertion instead. For example,
the way to match ``abc'' provided that it is followed by three
repetitions of ``xyz'' is <CODE>/abc(?=(?:xyz){3})/</CODE>, not <CODE>/abc(?=xyz){3}/</CODE>.
<P></P>
<DT><STRONG><A NAME="item_Stub_found_while_resolving_method_%60%25s%27_overl">Stub found while resolving method `%s' overloading `%s' in package `%s'</A></STRONG><BR>
<DD>
(P) Overloading resolution over @ISA tree may be broken by importation stubs.
Stubs should never be implicitely created, but explicit calls to <CODE>can</CODE>
(F) Probably means you had a syntax error. Common reasons include:
<PRE>
A keyword is misspelled.
A semicolon is missing.
A comma is missing.
An opening or closing parenthesis is missing.
An opening or closing brace is missing.
A closing quote is missing.</PRE>
<P>Often there will be another error message associated with the syntax
error giving more information. (Sometimes it helps to turn on <STRONG>-w</STRONG>.)
The error message itself often tells you where it was in the line when
it decided to give up. Sometimes the actual error is several tokens
before this, because Perl is good at understanding random input.
Occasionally the line number may be misleading, and once in a blue moon
the only way to figure out what's triggering the error is to call
<CODE>perl -c</CODE> repeatedly, chopping away half the program each time to see
if the error went away. Sort of the cybernetic version of 20 questions.</P>
<P></P>
<DT><STRONG><A NAME="item_syntax_error_at_line_%25d%3A_%60%25s%27_unexpected">syntax error at line %d: `%s' unexpected</A></STRONG><BR>
<DD>
(A) You've accidentally run your script through the Bourne shell
instead of Perl. Check the #! line, or manually feed your script
into Perl yourself.
<P></P>
<DT><STRONG><A NAME="item_System_V_%25s_is_not_implemented_on_this_machine">System V %s is not implemented on this machine</A></STRONG><BR>
<DD>
(F) You tried to do something with a function beginning with ``sem'',
``shm'', or ``msg'' but that System V IPC is not implemented in your
machine. In some machines the functionality can exist but be
unconfigured. Consult your system support.
<P></P>
<DT><STRONG><A NAME="item_syswrite"><CODE>syswrite()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're writing to got itself closed sometime before now.
Check your logic flow.
<P></P>
<DT><STRONG><A NAME="item_Target_of_goto_is_too_deeply_nested">Target of goto is too deeply nested</A></STRONG><BR>
<DD>
(F) You tried to use <A HREF="../../lib/Pod/perlfunc.html#item_goto"><CODE>goto</CODE></A> to reach a label that was too deeply
nested for Perl to reach. Perl is doing you a favor by refusing.
<P></P>
<DT><STRONG><A NAME="item_tell"><CODE>tell()</CODE> on unopened file</A></STRONG><BR>
<DD>
(W unopened) You tried to use the <A HREF="#item_tell"><CODE>tell()</CODE></A> function on a filehandle that was either
never opened or has since been closed.
<P></P>
<DT><STRONG><A NAME="item_Test_on_unopened_file_%3C%25s%3E">Test on unopened file <%s></A></STRONG><BR>
<DD>
(W unopened) You tried to invoke a file test operator on a filehandle that isn't
open. Check your logic. See also <A HREF="../../lib/Pod/perlfunc.html#x">-X in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_That_use_of_%24%5B_is_unsupported">That use of $[ is unsupported</A></STRONG><BR>
<DD>
(F) Assignment to <CODE>$[</CODE> is now strictly circumscribed, and interpreted as
a compiler directive. You may say only one of
<PRE>
$[ = 0;
$[ = 1;
...
local $[ = 0;
local $[ = 1;
...</PRE>
<P>This is to prevent the problem of one module changing the array base
out from under another module inadvertently. See <A HREF="../../lib/Pod/perlvar.html#$[">$[ in the perlvar manpage</A>.</P>
<P></P>
<DT><STRONG><A NAME="item_The_%25s_function_is_unimplemented">The %s function is unimplemented</A></STRONG><BR>
<DD>
The function indicated isn't implemented on this architecture, according
to the probings of Configure.
<P></P>
<DT><STRONG><A NAME="item_crypt">The <CODE>crypt()</CODE> function is unimplemented due to excessive paranoia</A></STRONG><BR>
<DD>
(F) Configure couldn't find the <A HREF="#item_crypt"><CODE>crypt()</CODE></A> function on your machine,
probably because your vendor didn't supply it, probably because they
think the U.S. Government thinks it's a secret, or at least that they
will continue to pretend that it is. And if you quote me on that, I
will deny it.
<P></P>
<DT><STRONG><A NAME="item_The_stat_preceding_%2Dl___wasn%27t_an_lstat">The stat preceding <CODE>-l _</CODE> wasn't an lstat</A></STRONG><BR>
<DD>
(F) It makes no sense to test the current stat buffer for symbolic linkhood
if the last stat that wrote to the stat buffer already went past
the symlink to get to the real file. Use an actual filename instead.
<P></P>
<DT><STRONG><A NAME="item_elements">This Perl can't reset CRTL environ elements (%s)</A></STRONG><BR>
<DD>
<DT><STRONG>This Perl can't set CRTL environ elements (%s=%s)</STRONG><BR>
<DD>
(W internal) Warnings peculiar to VMS. You tried to change or delete an element
of the CRTL's internal environ array, but your copy of Perl wasn't
built with a CRTL that contained the <CODE>setenv()</CODE> function. You'll need to
rebuild Perl with a CRTL that does, or redefine <EM>PERL_ENV_TABLES</EM> (see
<A HREF="../../lib/Pod/perlvms.html">the perlvms manpage</A>) so that the environ array isn't the target of the change to
%ENV which produced the warning.
<P></P>
<DT><STRONG><A NAME="item_times_not_implemented">times not implemented</A></STRONG><BR>
<DD>
(F) Your version of the C library apparently doesn't do times(). I suspect
you're not running on Unix.
<P></P>
<DT><STRONG><A NAME="item_Too_few_args_to_syscall">Too few args to syscall</A></STRONG><BR>
<DD>
(F) There has to be at least one argument to <A HREF="../../lib/Pod/perlfunc.html#item_syscall"><CODE>syscall()</CODE></A> to specify the
system call to call, silly dilly.
<P></P>
<DT><STRONG><A NAME="item_Too_late_for_%22%2DT%22_option">Too late for ``<STRONG>-T</STRONG>'' option</A></STRONG><BR>
<DD>
(X) The #! line (or local equivalent) in a Perl script contains the
<STRONG>-T</STRONG> option, but Perl was not invoked with <STRONG>-T</STRONG> in its command line.
This is an error because, by the time Perl discovers a <STRONG>-T</STRONG> in a
script, it's too late to properly taint everything from the environment.
So Perl gives up.
<P>If the Perl script is being executed as a command using the #!
mechanism (or its local equivalent), this error can usually be fixed
by editing the #! line so that the <STRONG>-T</STRONG> option is a part of Perl's
first argument: e.g. change <CODE>perl -n -T</CODE> to <CODE>perl -T -n</CODE>.</P>
<P>If the Perl script is being executed as <CODE>perl scriptname</CODE>, then the
<STRONG>-T</STRONG> option must appear on the command line: <CODE>perl -T scriptname</CODE>.</P>
<P></P>
<DT><STRONG><A NAME="item_Too_late_for_%22%2D%25s%22_option">Too late for ``-%s'' option</A></STRONG><BR>
<DD>
(X) The #! line (or local equivalent) in a Perl script contains the
<STRONG>-M</STRONG> or <STRONG>-m</STRONG> option. This is an error because <STRONG>-M</STRONG> and <STRONG>-m</STRONG> options
are not intended for use inside scripts. Use the <A HREF="../../lib/Pod/perlfunc.html#item_use"><CODE>use</CODE></A> pragma instead.
<P></P>
<DT><STRONG><A NAME="item_Too_late_to_run_%25s_block">Too late to run %s block</A></STRONG><BR>
<DD>
(W void) A CHECK or INIT block is being defined during run time proper,
when the opportunity to run them has already passed. Perhaps you are
loading a file with <A HREF="../../lib/Pod/perlfunc.html#item_require"><CODE>require</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_do"><CODE>do</CODE></A> when you should be using
<A HREF="../../lib/Pod/perlfunc.html#item_use"><CODE>use</CODE></A> instead. Or perhaps you should put the <A HREF="../../lib/Pod/perlfunc.html#item_require"><CODE>require</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_do"><CODE>do</CODE></A>
inside a BEGIN block.
<P></P>
<DT><STRONG><A NAME="item_many">Too many ('s</A></STRONG><BR>
<DD>
<DT><STRONG><A NAME="item_Too_many_%29%27s">Too many )'s</A></STRONG><BR>
<DD>
(A) You've accidentally run your script through <STRONG>csh</STRONG> instead
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
<P></P>
<DT><STRONG><A NAME="item_Too_many_args_to_syscall">Too many args to syscall</A></STRONG><BR>
<DD>
(F) Perl supports a maximum of only 14 args to syscall().
<P></P>
<DT><STRONG><A NAME="item_Too_many_arguments_for_%25s">Too many arguments for %s</A></STRONG><BR>
<DD>
(F) The function requires fewer arguments than you specified.
<P></P>
<DT><STRONG><A NAME="item_trailing_%5C_in_regexp">trailing \ in regexp</A></STRONG><BR>
<DD>
(F) The regular expression ends with an unbackslashed backslash. Backslash
it. See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Transliteration_pattern_not_terminated">Transliteration pattern not terminated</A></STRONG><BR>
<DD>
(F) The lexer couldn't find the interior delimiter of a tr/// or tr[][]
or y/// or y[][] construct. Missing the leading <CODE>$</CODE> from variables
<CODE>$tr</CODE> or <CODE>$y</CODE> may cause this error.
<P></P>
<DT><STRONG><A NAME="item_Transliteration_replacement_not_terminated">Transliteration replacement not terminated</A></STRONG><BR>
<DD>
(F) The lexer couldn't find the final delimiter of a tr/// or tr[][]
construct.
<P></P>
<DT><STRONG><A NAME="item_truncate_not_implemented">truncate not implemented</A></STRONG><BR>
<DD>
(F) Your machine doesn't implement a file truncation mechanism that
Configure knows about.
<P></P>
<DT><STRONG>Type of arg %d to %s must be %s (not %s)</STRONG><BR>
<DD>
(F) This function requires the argument in that position to be of a
certain type. Arrays must be @NAME or <CODE>@{EXPR}</CODE>. Hashes must be
%NAME or <CODE>%{EXPR}</CODE>. No implicit dereferencing is allowed--use the
{EXPR} forms as an explicit dereference. See <A HREF="../../lib/Pod/perlref.html">the perlref manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_umask%3A_argument_is_missing_initial_0">umask: argument is missing initial 0</A></STRONG><BR>
<DD>
(W umask) A umask of 222 is incorrect. It should be 0222, because octal
literals always start with 0 in Perl, as in C.
<P></P>
<DT><STRONG><A NAME="item_umask_not_implemented">umask not implemented</A></STRONG><BR>
<DD>
(F) Your machine doesn't implement the umask function and you tried
to use it to restrict permissions for yourself (EXPR & 0700).
<P></P>
<DT><STRONG><A NAME="item_Unable_to_create_sub_named_%22%25s%22">Unable to create sub named ``%s''</A></STRONG><BR>
<DD>
(F) You attempted to create or access a subroutine with an illegal name.
<P></P>
<DT><STRONG><A NAME="item_Unbalanced_context%3A_%25d_more_PUSHes_than_POPs">Unbalanced context: %d more PUSHes than POPs</A></STRONG><BR>
<DD>
(W internal) The exit code detected an internal inconsistency in how many execution
contexts were entered and left.
<P></P>
<DT><STRONG><A NAME="item_Unbalanced_saves%3A_%25d_more_saves_than_restores">Unbalanced saves: %d more saves than restores</A></STRONG><BR>
<DD>
(W internal) The exit code detected an internal inconsistency in how many
values were temporarily localized.
<P></P>
<DT><STRONG><A NAME="item_Unbalanced_scopes%3A_%25d_more_ENTERs_than_LEAVEs">Unbalanced scopes: %d more ENTERs than LEAVEs</A></STRONG><BR>
<DD>
(W internal) The exit code detected an internal inconsistency in how many blocks
were entered and left.
<P></P>
<DT><STRONG><A NAME="item_Unbalanced_tmps%3A_%25d_more_allocs_than_frees">Unbalanced tmps: %d more allocs than frees</A></STRONG><BR>
<DD>
(W internal) The exit code detected an internal inconsistency in how many mortal
scalars were allocated and freed.
<P></P>
<DT><STRONG><A NAME="item_Undefined_format_%22%25s%22_called">Undefined format ``%s'' called</A></STRONG><BR>
<DD>
(F) The format indicated doesn't seem to exist. Perhaps it's really in
another package? See <A HREF="../../lib/Pod/perlform.html">the perlform manpage</A>.
<DT><STRONG><A NAME="item_Unknown_process_%25x_sent_message_to_prime_env_ite">Unknown process %x sent message to prime_env_iter: %s</A></STRONG><BR>
<DD>
(P) An error peculiar to VMS. Perl was reading values for %ENV before
iterating over it, and someone else stuck a message in the stream of
data Perl expected. Someone's very confused, or perhaps trying to
subvert Perl's population of %ENV for nefarious purposes.
<P></P>
<DT><STRONG><A NAME="item_unmatched">unmatched () in regexp</A></STRONG><BR>
<DD>
(F) Unbackslashed parentheses must always be balanced in regular
expressions. If you're a vi user, the % key is valuable for finding
the matching parenthesis. See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Unmatched_right_%25s_bracket">Unmatched right %s bracket</A></STRONG><BR>
<DD>
(F) The lexer counted more closing curly or square brackets than
opening ones, so you're probably missing a matching opening bracket.
As a general rule, you'll find the missing one (so to speak) near the
place you were last editing.
<P></P>
<DT><STRONG><A NAME="item_unmatched_%5B%5D_in_regexp">unmatched [] in regexp</A></STRONG><BR>
<DD>
(F) The brackets around a character class must match. If you wish to
include a closing bracket in a character class, backslash it or put it first.
See <A HREF="../../lib/Pod/perlre.html">the perlre manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Unquoted_string_%22%25s%22_may_clash_with_future_r">Unquoted string ``%s'' may clash with future reserved word</A></STRONG><BR>
<DD>
(W reserved) You used a bareword that might someday be claimed as a reserved word.
It's best to put such a word in quotes, or capitalize it somehow, or insert
an underbar into it. You might also declare it as a subroutine.
<P></P>
<DT><STRONG><A NAME="item_Unrecognized_character_%25s">Unrecognized character %s</A></STRONG><BR>
<DD>
(F) The Perl parser has no idea what to do with the specified character
in your Perl script (or eval). Perhaps you tried to run a compressed
script, a binary program, or a directory as a Perl program.
(W misc) You used a backslash-character combination which is not recognized
by Perl.
<P></P>
<DT><STRONG><A NAME="item_Unrecognized_signal_name_%22%25s%22">Unrecognized signal name ``%s''</A></STRONG><BR>
<DD>
(F) You specified a signal name to the <A HREF="../../lib/Pod/perlfunc.html#item_kill"><CODE>kill()</CODE></A> function that was not recognized.
Say <CODE>kill -l</CODE> in your shell to see the valid signal names on your system.
<P></P>
<DT><STRONG>Unrecognized switch: -%s (-h will show valid options)</STRONG><BR>
<DD>
(F) You specified an illegal option to Perl. Don't do that.
(If you think you didn't do that, check the #! line to see if it's
supplying the bad switch on your behalf.)
<P></P>
<DT><STRONG><A NAME="item_Unsuccessful_%25s_on_filename_containing_newline">Unsuccessful %s on filename containing newline</A></STRONG><BR>
<DD>
(W newline) A file operation was attempted on a filename, and that operation
failed, PROBABLY because the filename contained a newline, PROBABLY
because you forgot to <A HREF="../../lib/Pod/perlfunc.html#item_chop"><CODE>chop()</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_chomp"><CODE>chomp()</CODE></A> it off. See <A HREF="../../lib/Pod/perlfunc.html#chomp">chomp in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Unsupported_directory_function_%22%25s%22_called">Unsupported directory function ``%s'' called</A></STRONG><BR>
<DD>
(F) Your machine doesn't support <A HREF="../../lib/Pod/perlfunc.html#item_opendir"><CODE>opendir()</CODE></A> and readdir().
<P></P>
<DT><STRONG><A NAME="item_Unsupported_function_fork">Unsupported function fork</A></STRONG><BR>
<DD>
(F) Your version of executable does not support forking.
<P>Note that under some systems, like OS/2, there may be different flavors of
Perl executables, some of which may support fork, some not. Try changing
the name you call Perl by to <CODE>perl_</CODE>, <CODE>perl__</CODE>, and so on.</P>
<P></P>
<DT><STRONG><A NAME="item_Unsupported_function_%25s">Unsupported function %s</A></STRONG><BR>
<DD>
(F) This machine doesn't implement the indicated function, apparently.
At least, Configure doesn't think so.
<P></P>
<DT><STRONG><A NAME="item_Unsupported_socket_function_%22%25s%22_called">Unsupported socket function ``%s'' called</A></STRONG><BR>
<DD>
(F) Your machine doesn't support the Berkeley socket mechanism, or at
(F) The lexer found something other than a simple identifier at the start
of an attribute, and it wasn't a semicolon or the start of a
block. Perhaps you terminated the parameter list of the previous attribute
too soon. See <A HREF="../../lib/attributes.html">the attributes manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Use_of_%24%23_is_deprecated">Use of $# is deprecated</A></STRONG><BR>
<DD>
(D deprecated) This was an ill-advised attempt to emulate a poorly defined <STRONG>awk</STRONG> feature.
Use an explicit <A HREF="#item_printf"><CODE>printf()</CODE></A> or <A HREF="../../lib/Pod/perlfunc.html#item_sprintf"><CODE>sprintf()</CODE></A> instead.
<P></P>
<DT><STRONG><A NAME="item_Use_of_%24%2A_is_deprecated">Use of $* is deprecated</A></STRONG><BR>
<DD>
(D deprecated) This variable magically turned on multi-line pattern matching, both for
you and for any luckless subroutine that you happen to call. You should
use the new <CODE>//m</CODE> and <CODE>//s</CODE> modifiers now to do that without the dangerous
action-at-a-distance effects of <CODE>$*</CODE>.
<P></P>
<DT><STRONG><A NAME="item_Use_of_%25s_in_printf_format_not_supported">Use of %s in printf format not supported</A></STRONG><BR>
<DD>
(F) You attempted to use a feature of printf that is accessible from
only C. This usually means there's a better way to do it in Perl.
<P></P>
<DT><STRONG><A NAME="item_Use_of_bare_%3C%3C_to_mean_%3C%3C%22%22_is_depreca">Use of bare << to mean <<``'' is deprecated</A></STRONG><BR>
<DD>
(D deprecated) You are now encouraged to use the explicitly quoted form if you
wish to use an empty line as the terminator of the here-document.
<P></P>
<DT><STRONG><A NAME="item_Use_of_implicit_split_to_%40__is_deprecated">Use of implicit split to @_ is deprecated</A></STRONG><BR>
<DD>
(D deprecated) It makes a lot of work for the compiler when you clobber a
subroutine's argument list, so it's better if you assign the results of
a <A HREF="../../lib/Pod/perlfunc.html#item_split"><CODE>split()</CODE></A> explicitly to an array (or list).
<P></P>
<DT><STRONG>Use of inherited AUTOLOAD for non-method %s() is deprecated</STRONG><BR>
<DD>
(D deprecated) As an (ahem) accidental feature, <CODE>AUTOLOAD</CODE> subroutines are
looked up as methods (using the <CODE>@ISA</CODE> hierarchy) even when the subroutines
to be autoloaded were called as plain functions (e.g. <CODE>Foo::bar()</CODE>),
not as methods (e.g. <CODE>Foo->bar()</CODE> or <CODE>$obj->bar()</CODE>).
<P>This bug will be rectified in Perl 5.005, which will use method lookup
only for methods' <CODE>AUTOLOAD</CODE>s. However, there is a significant base
of existing code that may be using the old behavior. So, as an
interim step, Perl 5.004 issues an optional warning when non-methods
use inherited <CODE>AUTOLOAD</CODE>s.</P>
<P>The simple rule is: Inheritance will not work when autoloading
non-methods. The simple fix for old code is: In any module that used to
depend on inheriting <CODE>AUTOLOAD</CODE> for non-methods from a base class named
<CODE>BaseClass</CODE>, execute <CODE>*AUTOLOAD = \&BaseClass::AUTOLOAD</CODE> during startup.</P>
<P>In code that currently says <A HREF="#item_qw"><CODE>use AutoLoader; @ISA = qw(AutoLoader);</CODE></A> you
should remove AutoLoader from @ISA and change <CODE>use AutoLoader;</CODE> to
<CODE>use AutoLoader 'AUTOLOAD';</CODE>.</P>
<P></P>
<DT><STRONG><A NAME="item_Use_of_reserved_word_%22%25s%22_is_deprecated">Use of reserved word ``%s'' is deprecated</A></STRONG><BR>
<DD>
(D deprecated) The indicated bareword is a reserved word. Future versions of perl
may use it as a keyword, so you're better off either explicitly quoting
the word in a manner appropriate for its context of use, or using a
different name altogether. The warning can be suppressed for subroutine
names by either adding a <CODE>&</CODE> prefix, or using a package qualifier,
e.g. <A HREF="../../lib/Pod/perlfunc.html#item_our"><CODE>&our()</CODE></A>, or <A HREF="../../lib/Pod/perlfunc.html#item_our"><CODE>Foo::our()</CODE></A>.
<P></P>
<DT><STRONG><A NAME="item_Use_of_%25s_is_deprecated">Use of %s is deprecated</A></STRONG><BR>
<DD>
(D deprecated) The construct indicated is no longer recommended for use, generally
because there's a better way to do it, and also because the old way has
bad side effects.
<P></P>
<DT><STRONG><A NAME="item_Use_of_uninitialized_value%25s">Use of uninitialized value%s</A></STRONG><BR>
<DD>
(W uninitialized) An undefined value was used as if it were already defined. It was
interpreted as a ``'' or a 0, but maybe it was a mistake. To suppress this
warning assign a defined value to your variables.
<P></P>
<DT><STRONG><A NAME="item_Useless_use_of_%22re%22_pragma">Useless use of ``re'' pragma</A></STRONG><BR>
<DD>
(W) You did <CODE>use re;</CODE> without any arguments. That isn't very useful.
<P></P>
<DT><STRONG><A NAME="item_Useless_use_of_%25s_in_void_context">Useless use of %s in void context</A></STRONG><BR>
<DD>
(W void) You did something without a side effect in a context that does nothing
with the return value, such as a statement that doesn't return a value
from a block, or the left side of a scalar comma operator. Very often
this points not to stupidity on your part, but a failure of Perl to parse
your program the way you thought it would. For example, you'd get this
if you mixed up your C precedence with Python precedence and said
<PRE>
$one, $two = 1, 2;</PRE>
<P>when you meant to say</P>
<PRE>
($one, $two) = (1, 2);</PRE>
<P>Another common error is to use ordinary parentheses to construct a list
reference when you should be using square or curly brackets, for
example, if you say</P>
<PRE>
$array = (1,2);</PRE>
<P>when you should have said</P>
<PRE>
$array = [1,2];</PRE>
<P>The square brackets explicitly turn a list value into a scalar value,
while parentheses do not. So when a parenthesized list is evaluated in
a scalar context, the comma is treated like C's comma operator, which
throws away the left argument, which is not what you want. See
<A HREF="../../lib/Pod/perlref.html">the perlref manpage</A> for more on this.</P>
<P></P>
<DT><STRONG><A NAME="item_untie_attempted_while_%25d_inner_references_still_">untie attempted while %d inner references still exist</A></STRONG><BR>
<DD>
(W untie) A copy of the object returned from <A HREF="../../lib/Pod/perlfunc.html#item_tie"><CODE>tie</CODE></A> (or <A HREF="../../lib/Pod/perlfunc.html#item_tied"><CODE>tied</CODE></A>) was still
valid when <A HREF="../../lib/Pod/perlfunc.html#item_untie"><CODE>untie</CODE></A> was called.
<P></P>
<DT><STRONG>Value of %s can be ``0''; test with <CODE>defined()</CODE></STRONG><BR>
<DD>
(W misc) In a conditional expression, you used <HANDLE>, <*> (glob), <A HREF="../../lib/Pod/perlfunc.html#item_each"><CODE>each()</CODE></A>,
or <A HREF="../../lib/Pod/perlfunc.html#item_readdir"><CODE>readdir()</CODE></A> as a boolean value. Each of these constructs can return a
value of ``0''; that would make the conditional expression false, which is
probably not what you intended. When using these constructs in conditional
expressions, test their values with the <A HREF="#item_defined"><CODE>defined</CODE></A> operator.
<P></P>
<DT><STRONG><A NAME="item_Value_of_CLI_symbol_%22%25s%22_too_long">Value of CLI symbol ``%s'' too long</A></STRONG><BR>
<DD>
(W misc) A warning peculiar to VMS. Perl tried to read the value of an %ENV
element from a CLI symbol table, and found a resultant string longer
than 1024 characters. The return value has been truncated to 1024
characters.
<P></P>
<DT><STRONG><A NAME="item_Variable_%22%25s%22_is_not_imported%25s">Variable ``%s'' is not imported%s</A></STRONG><BR>
<DD>
(F) While ``use strict'' in effect, you referred to a global variable
that you apparently thought was imported from another module, because
something else of the same name (usually a subroutine) is exported
by that module. It usually means you put the wrong funny character
on the front of your variable.
<P></P>
<DT><STRONG><A NAME="item_Variable_%22%25s%22_may_be_unavailable">Variable ``%s'' may be unavailable</A></STRONG><BR>
<DD>
(W closure) An inner (nested) <EM>anonymous</EM> subroutine is inside a <EM>named</EM>
subroutine, and outside that is another subroutine; and the anonymous
(innermost) subroutine is referencing a lexical variable defined in
the outermost subroutine. For example:
<PRE>
sub outermost { my $a; sub middle { sub { $a } } }</PRE>
<P>If the anonymous subroutine is called or referenced (directly or
indirectly) from the outermost subroutine, it will share the variable
as you would expect. But if the anonymous subroutine is called or
referenced when the outermost subroutine is not active, it will see
the value of the shared variable as it was before and during the
*first* call to the outermost subroutine, which is probably not what
you want.</P>
<P>In these circumstances, it is usually best to make the middle
subroutine anonymous, using the <A HREF="../../lib/Pod/perlfunc.html#item_sub"><CODE>sub {}</CODE></A> syntax. Perl has specific
support for shared variables in nested anonymous subroutines; a named
subroutine in between interferes with this feature.</P>
<P></P>
<DT><STRONG><A NAME="item_Variable_%22%25s%22_will_not_stay_shared">Variable ``%s'' will not stay shared</A></STRONG><BR>
<DD>
(W closure) An inner (nested) <EM>named</EM> subroutine is referencing a lexical
variable defined in an outer subroutine.
<P>When the inner subroutine is called, it will probably see the value of
the outer subroutine's variable as it was before and during the
*first* call to the outer subroutine; in this case, after the first
call to the outer subroutine is complete, the inner and outer
subroutines will no longer share a common value for the variable. In
other words, the variable will no longer be shared.</P>
<P>Furthermore, if the outer subroutine is anonymous and references a
lexical variable outside itself, then the outer and inner subroutines
will <EM>never</EM> share the given variable.</P>
<P>This problem can usually be solved by making the inner subroutine
anonymous, using the <A HREF="../../lib/Pod/perlfunc.html#item_sub"><CODE>sub {}</CODE></A> syntax. When inner anonymous subs that
reference variables in outer subroutines are called or referenced,
they are automatically rebound to the current values of such
(W) You passed <A HREF="../../lib/Pod/perlfunc.html#item_warn"><CODE>warn()</CODE></A> an empty string (the equivalent of <CODE>warn ""</CODE>) or
you called it with no args and <CODE>$_</CODE> was empty.
<P></P>
<DT><STRONG><A NAME="item_Warning%3A_unable_to_close_filehandle_%25s_properl">Warning: unable to close filehandle %s properly</A></STRONG><BR>
<DD>
(S) The implicit <A HREF="../../lib/Pod/perlfunc.html#item_close"><CODE>close()</CODE></A> done by an <A HREF="#item_open"><CODE>open()</CODE></A> got an error indication on the
close(). This usually indicates your file system ran out of disk space.
<P></P>
<DT><STRONG><A NAME="item_Warning%3A_Use_of_%22%25s%22_without_parentheses_i">Warning: Use of ``%s'' without parentheses is ambiguous</A></STRONG><BR>
<DD>
(S ambiguous) You wrote a unary operator followed by something that looks like a
binary operator that could also have been interpreted as a term or
unary operator. For instance, if you know that the rand function
has a default argument of 1.0, and you write
<PRE>
rand + 5;</PRE>
<P>you may THINK you wrote the same thing as</P>
<PRE>
rand() + 5;</PRE>
<P>but in actual fact, you got</P>
<PRE>
rand(+5);</PRE>
<P>So put in parentheses to say what you really mean.</P>
<P></P>
<DT><STRONG><A NAME="item_write"><CODE>write()</CODE> on closed filehandle %s</A></STRONG><BR>
<DD>
(W closed) The filehandle you're writing to got itself closed sometime before now.
Check your logic flow.
<P></P>
<DT><STRONG><A NAME="item_X_outside_of_string">X outside of string</A></STRONG><BR>
<DD>
(F) You had a pack template that specified a relative position before
the beginning of the string being unpacked. See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_x_outside_of_string">x outside of string</A></STRONG><BR>
<DD>
(F) You had a pack template that specified a relative position after
the end of the string being unpacked. See <A HREF="../../lib/Pod/perlfunc.html#pack">pack in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_Xsub_%22%25s%22_called_in_sort">Xsub ``%s'' called in sort</A></STRONG><BR>
<DD>
(F) The use of an external subroutine as a sort comparison is not yet supported.
<P></P>
<DT><STRONG><A NAME="item_Xsub_called_in_sort">Xsub called in sort</A></STRONG><BR>
<DD>
(F) The use of an external subroutine as a sort comparison is not yet supported.
<P></P>
<DT><STRONG><A NAME="item_You_can%27t_use_%2Dl_on_a_filehandle">You can't use <CODE>-l</CODE> on a filehandle</A></STRONG><BR>
<DD>
(F) A filehandle represents an opened file, and when you opened the file it
already went past any symlink you are presumably trying to look for.
Use a filename instead.
<P></P>
<DT><STRONG><A NAME="item_YOU_HAVEN%27T_DISABLED_SET%2DID_SCRIPTS_IN_THE_KER">YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!</A></STRONG><BR>
<DD>
(F) And you probably never will, because you probably don't have the
sources to your kernel, and your vendor probably doesn't give a rip
about what you want. Your best bet is to use the wrapsuid script in
the eg directory to put a setuid C wrapper around your script.
<P></P>
<DT><STRONG><A NAME="item_You_need_to_quote_%22%25s%22">You need to quote ``%s''</A></STRONG><BR>
<DD>
(W syntax) You assigned a bareword as a signal handler name. Unfortunately, you
already have a subroutine of that name declared, which means that Perl 5
will try to call the subroutine when the assignment is executed, which is
probably not what you want. (If it IS what you want, put an & in front.)
<P></P>
<DT><STRONG><A NAME="item_cetsockopt">%cetsockopt() on closed socket %s</A></STRONG><BR>
<DD>
(W closed) You tried to get or set a socket option on a closed socket.
Did you forget to check the return value of your <A HREF="../../lib/Pod/perlfunc.html#item_socket"><CODE>socket()</CODE></A> call?
See <A HREF="../../lib/Pod/perlfunc.html#getsockopt">getsockopt in the perlfunc manpage</A> and <A HREF="../../lib/Pod/perlfunc.html#setsockopt">setsockopt in the perlfunc manpage</A>.
<P></P>
<DT><STRONG><A NAME="item_%5C1_better_written_as_%241">\1 better written as $1</A></STRONG><BR>
<DD>
(W syntax) Outside of patterns, backreferences live on as variables. The use
of backslashes is grandfathered on the right-hand side of a
substitution, but stylistically it's better to use the variable form
because other Perl programmers will expect it, and it works better
if there are more than 9 backreferences.
<P></P>
<DT><STRONG><A NAME="item_%27%7C%27_and_%27%3C%27_may_not_both_be_specified_">'|' and '<' may not both be specified on command line</A></STRONG><BR>
<DD>
(F) An error peculiar to VMS. Perl does its own command line redirection, and
found that STDIN was a pipe, and that you also tried to redirect STDIN using
'<'. Only one STDIN stream to a customer, please.
<P></P>
<DT><STRONG><A NAME="item_%27%7C%27_and_%27%3E%27_may_not_both_be_specified_">'|' and '>' may not both be specified on command line</A></STRONG><BR>
<DD>
(F) An error peculiar to VMS. Perl does its own command line redirection, and
thinks you tried to redirect stdout both to a file and into a pipe to another
command. You need to choose one or the other, though nothing's stopping you
from piping into a program or Perl script which 'splits' output into two
streams, such as
<PRE>
open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
while (<STDIN>) {
print;
print OUT;
}
close OUT;</PRE>
<P></P>
<DT><STRONG><A NAME="item_Got_an_error_from_DosAllocMem">Got an error from DosAllocMem</A></STRONG><BR>
<DD>
(P) An error peculiar to OS/2. Most probably you're using an obsolete
version of Perl, and this should not happen anyway.