1PERLDIAG(1)            Perl Programmers Reference Guide            PERLDIAG(1)
2
3
4

NAME

6       perldiag - various Perl diagnostics
7

DESCRIPTION

9       These messages are classified as follows (listed in increasing order of
10       desperation):
11
12           (W) A warning (optional).
13           (D) A deprecation (enabled by default).
14           (S) A severe warning (enabled by default).
15           (F) A fatal error (trappable).
16           (P) An internal error you should never see (trappable).
17           (X) A very fatal error (nontrappable).
18           (A) An alien error message (not generated by Perl).
19
20       The majority of messages from the first three classifications above (W,
21       D & S) can be controlled using the "warnings" pragma.
22
23       If a message can be controlled by the "warnings" pragma, its warning
24       category is included with the classification letter in the description
25       below.
26
27       Optional warnings are enabled by using the "warnings" pragma or the -w
28       and -W switches.  Warnings may be captured by setting $SIG{__WARN__} to
29       a reference to a routine that will be called on each warning instead of
30       printing it.  See perlvar.
31
32       Severe warnings are always enabled, unless they are explicitly disabled
33       with the "warnings" pragma or the -X switch.
34
35       Trappable errors may be trapped using the eval operator.  See "eval" in
36       perlfunc.  In almost all cases, warnings may be selectively disabled or
37       promoted to fatal errors using the "warnings" pragma.  See warnings.
38
39       The messages are in alphabetical order, without regard to upper or
40       lower-case.  Some of these messages are generic.  Spots that vary are
41       denoted with a %s or other printf-style escape.  These escapes are
42       ignored by the alphabetical order, as are all characters other than
43       letters.  To look up your message, just ignore anything that is not a
44       letter.
45
46       accept() on closed socket %s
47           (W closed) You tried to do an accept on a closed socket.  Did you
48           forget to check the return value of your socket() call?  See
49           "accept" in perlfunc.
50
51       Allocation too large: %x
52           (X) You can't allocate more than 64K on an MS-DOS machine.
53
54       '%c' allowed only after types %s
55           (F) The modifiers '!', '<' and '>' are allowed in pack() or
56           unpack() only after certain types.  See "pack" in perlfunc.
57
58       Ambiguous call resolved as CORE::%s(), qualify as such or use &
59           (W ambiguous) A subroutine you have declared has the same name as a
60           Perl keyword, and you have used the name without qualification for
61           calling one or the other.  Perl decided to call the builtin because
62           the subroutine is not imported.
63
64           To force interpretation as a subroutine call, either put an
65           ampersand before the subroutine name, or qualify the name with its
66           package.  Alternatively, you can import the subroutine (or pretend
67           that it's imported with the "use subs" pragma).
68
69           To silently interpret it as the Perl operator, use the "CORE::"
70           prefix on the operator (e.g. "CORE::log($x)") or declare the
71           subroutine to be an object method (see "Subroutine Attributes" in
72           perlsub or attributes).
73
74       Ambiguous range in transliteration operator
75           (F) You wrote something like "tr/a-z-0//" which doesn't mean
76           anything at all.  To include a "-" character in a transliteration,
77           put it either first or last.  (In the past, "tr/a-z-0//" was
78           synonymous with "tr/a-y//", which was probably not what you would
79           have expected.)
80
81       Ambiguous use of %s resolved as %s
82           (W ambiguous)(S) You said something that may not be interpreted the
83           way you thought.  Normally it's pretty easy to disambiguate it by
84           supplying a missing quote, operator, parenthesis pair or
85           declaration.
86
87       Ambiguous use of %c resolved as operator %c
88           (W ambiguous) "%", "&", and "*" are both infix operators (modulus,
89           bitwise and, and multiplication) and initial special characters
90           (denoting hashes, subroutines and typeglobs), and you said
91           something like "*foo * foo" that might be interpreted as either of
92           them.  We assumed you meant the infix operator, but please try to
93           make it more clear -- in the example given, you might write "*foo *
94           foo()" if you really meant to multiply a glob by the result of
95           calling a function.
96
97       Ambiguous use of %c{%s} resolved to %c%s
98           (W ambiguous) You wrote something like "@{foo}", which might be
99           asking for the variable @foo, or it might be calling a function
100           named foo, and dereferencing it as an array reference.  If you
101           wanted the variable, you can just write @foo.  If you wanted to
102           call the function, write "@{foo()}" ... or you could just not have
103           a variable and a function with the same name, and save yourself a
104           lot of trouble.
105
106       Ambiguous use of %c{%s[...]} resolved to %c%s[...]
107       Ambiguous use of %c{%s{...}} resolved to %c%s{...}
108           (W ambiguous) You wrote something like "${foo[2]}" (where foo
109           represents the name of a Perl keyword), which might be looking for
110           element number 2 of the array named @foo, in which case please
111           write $foo[2], or you might have meant to pass an anonymous
112           arrayref to the function named foo, and then do a scalar deref on
113           the value it returns.  If you meant that, write "${foo([2])}".
114
115           In regular expressions, the "${foo[2]}" syntax is sometimes
116           necessary to disambiguate between array subscripts and character
117           classes.  "/$length[2345]/", for instance, will be interpreted as
118           $length followed by the character class "[2345]".  If an array
119           subscript is what you want, you can avoid the warning by changing
120           "/${length[2345]}/" to the unsightly "/${\$length[2345]}/", by
121           renaming your array to something that does not coincide with a
122           built-in keyword, or by simply turning off warnings with "no
123           warnings 'ambiguous';".
124
125       Ambiguous use of -%s resolved as -&%s()
126           (W ambiguous) You wrote something like "-foo", which might be the
127           string "-foo", or a call to the function "foo", negated.  If you
128           meant the string, just write "-foo".  If you meant the function
129           call, write "-foo()".
130
131       Ambiguous use of 's//le...' resolved as 's// le...'; Rewrite as 's//el'
132       if you meant 'use locale rules and evaluate rhs as an expression'.  In
133       Perl 5.18, it will be resolved the other way
134           (W deprecated, ambiguous) You wrote a pattern match with
135           substitution immediately followed by "le".  In Perl 5.16 and
136           earlier, this is resolved as meaning to take the result of the
137           substitution, and see if it is stringwise less-than-or-equal-to
138           what follows in the expression.  Having the "le" immediately
139           following a pattern is deprecated behavior, so in Perl 5.18, this
140           expression will be resolved as meaning to do the pattern match
141           using the rules of the current locale, and evaluate the rhs as an
142           expression when doing the substitution.  In 5.14, and 5.16 if you
143           want the latter interpretation, you can simply write "el" instead.
144           But note that the "/l" modifier should not be used explicitly
145           anyway; you should use "use locale" instead.  See perllocale.
146
147       '|' and '<' may not both be specified on command line
148           (F) An error peculiar to VMS.  Perl does its own command line
149           redirection, and found that STDIN was a pipe, and that you also
150           tried to redirect STDIN using '<'.  Only one STDIN stream to a
151           customer, please.
152
153       '|' and '>' may not both be specified on command line
154           (F) An error peculiar to VMS.  Perl does its own command line
155           redirection, and thinks you tried to redirect stdout both to a file
156           and into a pipe to another command.  You need to choose one or the
157           other, though nothing's stopping you from piping into a program or
158           Perl script which 'splits' output into two streams, such as
159
160               open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
161               while (<STDIN>) {
162                   print;
163                   print OUT;
164               }
165               close OUT;
166
167       Applying %s to %s will act on scalar(%s)
168           (W misc) The pattern match ("//"), substitution ("s///"), and
169           transliteration ("tr///") operators work on scalar values.  If you
170           apply one of them to an array or a hash, it will convert the array
171           or hash to a scalar value (the length of an array, or the
172           population info of a hash) and then work on that scalar value.
173           This is probably not what you meant to do.  See "grep" in perlfunc
174           and "map" in perlfunc for alternatives.
175
176       Arg too short for msgsnd
177           (F) msgsnd() requires a string at least as long as sizeof(long).
178
179       %s argument is not a HASH or ARRAY element or a subroutine
180           (F) The argument to exists() must be a hash or array element or a
181           subroutine with an ampersand, such as:
182
183               $foo{$bar}
184               $ref->{"susie"}[12]
185               &do_something
186
187       %s argument is not a HASH or ARRAY element or slice
188           (F) The argument to delete() must be either a hash or array
189           element, such as:
190
191               $foo{$bar}
192               $ref->{"susie"}[12]
193
194           or a hash or array slice, such as:
195
196               @foo[$bar, $baz, $xyzzy]
197               @{$ref->[12]}{"susie", "queue"}
198
199       %s argument is not a subroutine name
200           (F) The argument to exists() for "exists &sub" must be a subroutine
201           name, and not a subroutine call.  "exists &sub()" will generate
202           this error.
203
204       Argument "%s" isn't numeric%s
205           (W numeric) The indicated string was fed as an argument to an
206           operator that expected a numeric value instead.  If you're
207           fortunate the message will identify which operator was so
208           unfortunate.
209
210       Argument list not closed for PerlIO layer "%s"
211           (W layer) When pushing a layer with arguments onto the Perl I/O
212           system you forgot the ) that closes the argument list.  (Layers
213           take care of transforming data between external and internal
214           representations.)  Perl stopped parsing the layer list at this
215           point and did not attempt to push this layer.  If your program
216           didn't explicitly request the failing operation, it may be the
217           result of the value of the environment variable PERLIO.
218
219       Array @%s missing the @ in argument %d of %s()
220           (D deprecated) Really old Perl let you omit the @ on array names in
221           some spots.  This is now heavily deprecated.
222
223       assertion botched: %s
224           (X) The malloc package that comes with Perl had an internal
225           failure.
226
227       Assertion failed: file "%s"
228           (X) A general assertion failed.  The file in question must be
229           examined.
230
231       Assigning non-zero to $[ is no longer possible
232           (F) When the "array_base" feature is disabled (e.g., under "use
233           v5.16;") the special variable $[, which is deprecated, is now a
234           fixed zero value.
235
236       Assignment to both a list and a scalar
237           (F) If you assign to a conditional operator, the 2nd and 3rd
238           arguments must either both be scalars or both be lists.  Otherwise
239           Perl won't know which context to supply to the right side.
240
241       A thread exited while %d threads were running
242           (W threads)(S) When using threaded Perl, a thread (not necessarily
243           the main thread) exited while there were still other threads
244           running.  Usually it's a good idea first to collect the return
245           values of the created threads by joining them, and only then to
246           exit from the main thread.  See threads.
247
248       Attempt to access disallowed key '%s' in a restricted hash
249           (F) The failing code has attempted to get or set a key which is not
250           in the current set of allowed keys of a restricted hash.
251
252       Attempt to bless into a reference
253           (F) The CLASSNAME argument to the bless() operator is expected to
254           be the name of the package to bless the resulting object into.
255           You've supplied instead a reference to something: perhaps you wrote
256
257               bless $self, $proto;
258
259           when you intended
260
261               bless $self, ref($proto) || $proto;
262
263           If you actually want to bless into the stringified version of the
264           reference supplied, you need to stringify it yourself, for example
265           by:
266
267               bless $self, "$proto";
268
269       Attempt to clear deleted array
270           (S debugging) An array was assigned to when it was being freed.
271           Freed values are not supposed to be visible to Perl code.  This can
272           also happen if XS code calls "av_clear" from a custom magic
273           callback on the array.
274
275       Attempt to delete disallowed key '%s' from a restricted hash
276           (F) The failing code attempted to delete from a restricted hash a
277           key which is not in its key set.
278
279       Attempt to delete readonly key '%s' from a restricted hash
280           (F) The failing code attempted to delete a key whose value has been
281           declared readonly from a restricted hash.
282
283       Attempt to free non-arena SV: 0x%x
284           (S internal) All SV objects are supposed to be allocated from
285           arenas that will be garbage collected on exit.  An SV was
286           discovered to be outside any of those arenas.
287
288       Attempt to free nonexistent shared string '%s'%s
289           (S internal) Perl maintains a reference-counted internal table of
290           strings to optimize the storage and access of hash keys and other
291           strings.  This indicates someone tried to decrement the reference
292           count of a string that can no longer be found in the table.
293
294       Attempt to free temp prematurely: SV 0x%x
295           (S debugging) Mortalized values are supposed to be freed by the
296           free_tmps() routine.  This indicates that something else is freeing
297           the SV before the free_tmps() routine gets a chance, which means
298           that the free_tmps() routine will be freeing an unreferenced scalar
299           when it does try to free it.
300
301       Attempt to free unreferenced glob pointers
302           (S internal) The reference counts got screwed up on symbol aliases.
303
304       Attempt to free unreferenced scalar: SV 0x%x
305           (W internal) Perl went to decrement the reference count of a scalar
306           to see if it would go to 0, and discovered that it had already gone
307           to 0 earlier, and should have been freed, and in fact, probably was
308           freed.  This could indicate that SvREFCNT_dec() was called too many
309           times, or that SvREFCNT_inc() was called too few times, or that the
310           SV was mortalized when it shouldn't have been, or that memory has
311           been corrupted.
312
313       Attempt to join self
314           (F) You tried to join a thread from within itself, which is an
315           impossible task.  You may be joining the wrong thread, or you may
316           need to move the join() to some other thread.
317
318       Attempt to pack pointer to temporary value
319           (W pack) You tried to pass a temporary value (like the result of a
320           function, or a computed expression) to the "p" pack() template.
321           This means the result contains a pointer to a location that could
322           become invalid anytime, even before the end of the current
323           statement.  Use literals or global values as arguments to the "p"
324           pack() template to avoid this warning.
325
326       Attempt to reload %s aborted.
327           (F) You tried to load a file with "use" or "require" that failed to
328           compile once already.  Perl will not try to compile this file again
329           unless you delete its entry from %INC.  See "require" in perlfunc
330           and "%INC" in perlvar.
331
332       Attempt to set length of freed array
333           (W) You tried to set the length of an array which has been freed.
334           You can do this by storing a reference to the scalar representing
335           the last index of an array and later assigning through that
336           reference.  For example
337
338               $r = do {my @a; \$#a};
339               $$r = 503
340
341       Attempt to use reference as lvalue in substr
342           (W substr) You supplied a reference as the first argument to
343           substr() used as an lvalue, which is pretty strange.  Perhaps you
344           forgot to dereference it first.  See "substr" in perlfunc.
345
346       Attribute "locked" is deprecated
347           (D deprecated) You have used the attributes pragma to modify the
348           "locked" attribute on a code reference.  The :locked attribute is
349           obsolete, has had no effect since 5005 threads were removed, and
350           will be removed in a future release of Perl 5.
351
352       Attribute "unique" is deprecated
353           (D deprecated) You have used the attributes pragma to modify the
354           "unique" attribute on an array, hash or scalar reference.  The
355           :unique attribute has had no effect since Perl 5.8.8, and will be
356           removed in a future release of Perl 5.
357
358       av_reify called on tied array
359           (S debugging) This indicates that something went wrong and Perl got
360           very confused about @_ or @DB::args being tied.
361
362       Bad arg length for %s, is %u, should be %d
363           (F) You passed a buffer of the wrong size to one of msgctl(),
364           semctl() or shmctl().  In C parlance, the correct sizes are,
365           respectively, sizeof(struct msqid_ds *), sizeof(struct semid_ds *),
366           and sizeof(struct shmid_ds *).
367
368       Bad evalled substitution pattern
369           (F) You've used the "/e" switch to evaluate the replacement for a
370           substitution, but perl found a syntax error in the code to
371           evaluate, most likely an unexpected right brace '}'.
372
373       Bad filehandle: %s
374           (F) A symbol was passed to something wanting a filehandle, but the
375           symbol has no filehandle associated with it.  Perhaps you didn't do
376           an open(), or did it in another package.
377
378       Bad free() ignored
379           (S malloc) An internal routine called free() on something that had
380           never been malloc()ed in the first place.  Mandatory, but can be
381           disabled by setting environment variable "PERL_BADFREE" to 0.
382
383           This message can be seen quite often with DB_File on systems with
384           "hard" dynamic linking, like "AIX" and "OS/2".  It is a bug of
385           "Berkeley DB" which is left unnoticed if "DB" uses forgiving system
386           malloc().
387
388       Bad hash
389           (P) One of the internal hash routines was passed a null HV pointer.
390
391       Badly placed ()'s
392           (A) You've accidentally run your script through csh instead of
393           Perl.  Check the #! line, or manually feed your script into Perl
394           yourself.
395
396       Bad name after %s
397           (F) You started to name a symbol by using a package prefix, and
398           then didn't finish the symbol.  In particular, you can't
399           interpolate outside of quotes, so
400
401               $var = 'myvar';
402               $sym = mypack::$var;
403
404           is not the same as
405
406               $var = 'myvar';
407               $sym = "mypack::$var";
408
409       Bad plugin affecting keyword '%s'
410           (F) An extension using the keyword plugin mechanism violated the
411           plugin API.
412
413       Bad realloc() ignored
414           (S malloc) An internal routine called realloc() on something that
415           had never been malloc()ed in the first place.  Mandatory, but can
416           be disabled by setting the environment variable "PERL_BADFREE" to
417           1.
418
419       Bad symbol for array
420           (P) An internal request asked to add an array entry to something
421           that wasn't a symbol table entry.
422
423       Bad symbol for dirhandle
424           (P) An internal request asked to add a dirhandle entry to something
425           that wasn't a symbol table entry.
426
427       Bad symbol for filehandle
428           (P) An internal request asked to add a filehandle entry to
429           something that wasn't a symbol table entry.
430
431       Bad symbol for hash
432           (P) An internal request asked to add a hash entry to something that
433           wasn't a symbol table entry.
434
435       Bareword found in conditional
436           (W bareword) The compiler found a bareword where it expected a
437           conditional, which often indicates that an || or && was parsed as
438           part of the last argument of the previous construct, for example:
439
440               open FOO || die;
441
442           It may also indicate a misspelled constant that has been
443           interpreted as a bareword:
444
445               use constant TYPO => 1;
446               if (TYOP) { print "foo" }
447
448           The "strict" pragma is useful in avoiding such errors.
449
450       Bareword "%s" not allowed while "strict subs" in use
451           (F) With "strict subs" in use, a bareword is only allowed as a
452           subroutine identifier, in curly brackets or to the left of the "=>"
453           symbol.  Perhaps you need to predeclare a subroutine?
454
455       Bareword "%s" refers to nonexistent package
456           (W bareword) You used a qualified bareword of the form "Foo::", but
457           the compiler saw no other uses of that namespace before that point.
458           Perhaps you need to predeclare a package?
459
460       BEGIN failed--compilation aborted
461           (F) An untrapped exception was raised while executing a BEGIN
462           subroutine.  Compilation stops immediately and the interpreter is
463           exited.
464
465       BEGIN not safe after errors--compilation aborted
466           (F) Perl found a "BEGIN {}" subroutine (or a "use" directive, which
467           implies a "BEGIN {}") after one or more compilation errors had
468           already occurred.  Since the intended environment for the "BEGIN
469           {}" could not be guaranteed (due to the errors), and since
470           subsequent code likely depends on its correct operation, Perl just
471           gave up.
472
473       \1 better written as $1
474           (W syntax) Outside of patterns, backreferences live on as
475           variables.  The use of backslashes is grandfathered on the right-
476           hand side of a substitution, but stylistically it's better to use
477           the variable form because other Perl programmers will expect it,
478           and it works better if there are more than 9 backreferences.
479
480       Binary number > 0b11111111111111111111111111111111 non-portable
481           (W portable) The binary number you specified is larger than 2**32-1
482           (4294967295) and therefore non-portable between systems.  See
483           perlport for more on portability concerns.
484
485       bind() on closed socket %s
486           (W closed) You tried to do a bind on a closed socket.  Did you
487           forget to check the return value of your socket() call?  See "bind"
488           in perlfunc.
489
490       binmode() on closed filehandle %s
491           (W unopened) You tried binmode() on a filehandle that was never
492           opened.  Check your control flow and number of arguments.
493
494       "\b{" is deprecated; use "\b\{" instead
495       "\B{" is deprecated; use "\B\{" instead
496           (W deprecated, regexp) Use of an unescaped "{" immediately
497           following a "\b" or "\B" is now deprecated so as to reserve its use
498           for Perl itself in a future release.
499
500       Bit vector size > 32 non-portable
501           (W portable) Using bit vector sizes larger than 32 is non-portable.
502
503       Bizarre copy of %s
504           (P) Perl detected an attempt to copy an internal value that is not
505           copiable.
506
507       Buffer overflow in prime_env_iter: %s
508           (W internal) A warning peculiar to VMS.  While Perl was preparing
509           to iterate over %ENV, it encountered a logical name or symbol
510           definition which was too long, so it was truncated to the string
511           shown.
512
513       Bizarre SvTYPE [%d]
514           (P) When starting a new thread or return values from a thread, Perl
515           encountered an invalid data type.
516
517       Callback called exit
518           (F) A subroutine invoked from an external package via call_sv()
519           exited by calling exit.
520
521       %s() called too early to check prototype
522           (W prototype) You've called a function that has a prototype before
523           the parser saw a definition or declaration for it, and Perl could
524           not check that the call conforms to the prototype.  You need to
525           either add an early prototype declaration for the subroutine in
526           question, or move the subroutine definition ahead of the call to
527           get proper prototype checking.  Alternatively, if you are certain
528           that you're calling the function correctly, you may put an
529           ampersand before the name to avoid the warning.  See perlsub.
530
531       Cannot compress integer in pack
532           (F) An argument to pack("w",...) was too large to compress.  The
533           BER compressed integer format can only be used with positive
534           integers, and you attempted to compress Infinity or a very large
535           number (> 1e308).  See "pack" in perlfunc.
536
537       Cannot compress negative numbers in pack
538           (F) An argument to pack("w",...) was negative.  The BER compressed
539           integer format can only be used with positive integers.  See "pack"
540           in perlfunc.
541
542       Cannot convert a reference to %s to typeglob
543           (F) You manipulated Perl's symbol table directly, stored a
544           reference in it, then tried to access that symbol via conventional
545           Perl syntax.  The access triggers Perl to autovivify that typeglob,
546           but it there is no legal conversion from that type of reference to
547           a typeglob.
548
549       Cannot copy to %s
550           (P) Perl detected an attempt to copy a value to an internal type
551           that cannot be directly assigned to.
552
553       Cannot find encoding "%s"
554           (S io) You tried to apply an encoding that did not exist to a
555           filehandle, either with open() or binmode().
556
557       Cannot set tied @DB::args
558           (F) "caller" tried to set @DB::args, but found it tied.  Tying
559           @DB::args is not supported.  (Before this error was added, it used
560           to crash.)
561
562       Cannot tie unreifiable array
563           (P) You somehow managed to call "tie" on an array that does not
564           keep a reference count on its arguments and cannot be made to do
565           so.  Such arrays are not even supposed to be accessible to Perl
566           code, but are only used internally.
567
568       Can only compress unsigned integers in pack
569           (F) An argument to pack("w",...) was not an integer.  The BER
570           compressed integer format can only be used with positive integers,
571           and you attempted to compress something else.  See "pack" in
572           perlfunc.
573
574       Can't bless non-reference value
575           (F) Only hard references may be blessed.  This is how Perl
576           "enforces" encapsulation of objects.  See perlobj.
577
578       Can't "break" in a loop topicalizer
579           (F) You called "break", but you're in a "foreach" block rather than
580           a "given" block.  You probably meant to use "next" or "last".
581
582       Can't "break" outside a given block
583           (F) You called "break", but you're not inside a "given" block.
584
585       Can't call method "%s" on an undefined value
586           (F) You used the syntax of a method call, but the slot filled by
587           the object reference or package name contains an undefined value.
588           Something like this will reproduce the error:
589
590               $BADREF = undef;
591               process $BADREF 1,2,3;
592               $BADREF->process(1,2,3);
593
594       Can't call method "%s" on unblessed reference
595           (F) A method call must know in what package it's supposed to run.
596           It ordinarily finds this out from the object reference you supply,
597           but you didn't supply an object reference in this case.  A
598           reference isn't an object reference until it has been blessed.  See
599           perlobj.
600
601       Can't call method "%s" without a package or object reference
602           (F) You used the syntax of a method call, but the slot filled by
603           the object reference or package name contains an expression that
604           returns a defined value which is neither an object reference nor a
605           package name.  Something like this will reproduce the error:
606
607               $BADREF = 42;
608               process $BADREF 1,2,3;
609               $BADREF->process(1,2,3);
610
611       Can't chdir to %s
612           (F) You called "perl -x/foo/bar", but "/foo/bar" is not a directory
613           that you can chdir to, possibly because it doesn't exist.
614
615       Can't check filesystem of script "%s" for nosuid
616           (P) For some reason you can't check the filesystem of the script
617           for nosuid.
618
619       Can't coerce %s to %s in %s
620           (F) Certain types of SVs, in particular real symbol table entries
621           (typeglobs), can't be forced to stop being what they are.  So you
622           can't say things like:
623
624               *foo += 1;
625
626           You CAN say
627
628               $foo = *foo;
629               $foo += 1;
630
631           but then $foo no longer contains a glob.
632
633       Can't "continue" outside a when block
634           (F) You called "continue", but you're not inside a "when" or
635           "default" block.
636
637       Can't create pipe mailbox
638           (P) An error peculiar to VMS.  The process is suffering from
639           exhausted quotas or other plumbing problems.
640
641       Can't declare %s in "%s"
642           (F) Only scalar, array, and hash variables may be declared as "my",
643           "our" or "state" variables.  They must have ordinary identifiers as
644           names.
645
646       Can't "default" outside a topicalizer
647           (F) You have used a "default" block that is neither inside a
648           "foreach" loop nor a "given" block.  (Note that this error is
649           issued on exit from the "default" block, so you won't get the error
650           if you use an explicit "continue".)
651
652       Can't do inplace edit: %s is not a regular file
653           (S inplace) You tried to use the -i switch on a special file, such
654           as a file in /dev, or a FIFO.  The file was ignored.
655
656       Can't do inplace edit on %s: %s
657           (S inplace) The creation of the new file failed for the indicated
658           reason.
659
660       Can't do inplace edit without backup
661           (F) You're on a system such as MS-DOS that gets confused if you try
662           reading from a deleted (but still opened) file.  You have to say
663           "-i.bak", or some such.
664
665       Can't do inplace edit: %s would not be unique
666           (S inplace) Your filesystem does not support filenames longer than
667           14 characters and Perl was unable to create a unique filename
668           during inplace editing with the -i switch.  The file was ignored.
669
670       Can't do {n,m} with n > m in regex; marked by <-- HERE in m/%s/
671           (F) Minima must be less than or equal to maxima.  If you really
672           want your regexp to match something 0 times, just put {0}.  The <--
673           HERE shows in the regular expression about where the problem was
674           discovered.  See perlre.
675
676       Can't do waitpid with flags
677           (F) This machine doesn't have either waitpid() or wait4(), so only
678           waitpid() without flags is emulated.
679
680       Can't emulate -%s on #! line
681           (F) The #! line specifies a switch that doesn't make sense at this
682           point.  For example, it'd be kind of silly to put a -x on the #!
683           line.
684
685       Can't %s %s-endian %ss on this platform
686           (F) Your platform's byte-order is neither big-endian nor little-
687           endian, or it has a very strange pointer size.  Packing and
688           unpacking big- or little-endian floating point values and pointers
689           may not be possible.  See "pack" in perlfunc.
690
691       Can't exec "%s": %s
692           (W exec) A system(), exec(), or piped open call could not execute
693           the named program for the indicated reason.  Typical reasons
694           include: the permissions were wrong on the file, the file wasn't
695           found in $ENV{PATH}, the executable in question was compiled for
696           another architecture, or the #! line in a script points to an
697           interpreter that can't be run for similar reasons.  (Or maybe your
698           system doesn't support #! at all.)
699
700       Can't exec %s
701           (F) Perl was trying to execute the indicated program for you
702           because that's what the #! line said.  If that's not what you
703           wanted, you may need to mention "perl" on the #! line somewhere.
704
705       Can't execute %s
706           (F) You used the -S switch, but the copies of the script to execute
707           found in the PATH did not have correct permissions.
708
709       Can't find an opnumber for "%s"
710           (F) A string of a form "CORE::word" was given to prototype(), but
711           there is no builtin with the name "word".
712
713       Can't find %s character property "%s"
714           (F) You used "\p{}" or "\P{}" but the character property by that
715           name could not be found.  Maybe you misspelled the name of the
716           property?  See "Properties accessible through \p{} and \P{}" in
717           perluniprops for a complete list of available properties.
718
719       Can't find label %s
720           (F) You said to goto a label that isn't mentioned anywhere that
721           it's possible for us to go to.  See "goto" in perlfunc.
722
723       Can't find %s on PATH
724           (F) You used the -S switch, but the script to execute could not be
725           found in the PATH.
726
727       Can't find %s on PATH, '.' not in PATH
728           (F) You used the -S switch, but the script to execute could not be
729           found in the PATH, or at least not with the correct permissions.
730           The script exists in the current directory, but PATH prohibits
731           running it.
732
733       Can't find string terminator %s anywhere before EOF
734           (F) Perl strings can stretch over multiple lines.  This message
735           means that the closing delimiter was omitted.  Because bracketed
736           quotes count nesting levels, the following is missing its final
737           parenthesis:
738
739               print q(The character '(' starts a side comment.);
740
741           If you're getting this error from a here-document, you may have
742           included unseen whitespace before or after your closing tag or
743           there may not be a linebreak after it.  A good programmer's editor
744           will have a way to help you find these characters (or lack of
745           characters).  See perlop for the full details on here-documents.
746
747       Can't find Unicode property definition "%s"
748           (F) You may have tried to use "\p" which means a Unicode property
749           (for example "\p{Lu}" matches all uppercase letters).  If you did
750           mean to use a Unicode property, see "Properties accessible through
751           \p{} and \P{}" in perluniprops for a complete list of available
752           properties.  If you didn't mean to use a Unicode property, escape
753           the "\p", either by "\\p" (just the "\p") or by "\Q\p" (the rest of
754           the string, or until "\E").
755
756       Can't fork: %s
757           (F) A fatal error occurred while trying to fork while opening a
758           pipeline.
759
760       Can't fork, trying again in 5 seconds
761           (W pipe) A fork in a piped open failed with EAGAIN and will be
762           retried after five seconds.
763
764       Can't get filespec - stale stat buffer?
765           (S) A warning peculiar to VMS.  This arises because of the
766           difference between access checks under VMS and under the Unix model
767           Perl assumes.  Under VMS, access checks are done by filename,
768           rather than by bits in the stat buffer, so that ACLs and other
769           protections can be taken into account.  Unfortunately, Perl assumes
770           that the stat buffer contains all the necessary information, and
771           passes it, instead of the filespec, to the access-checking routine.
772           It will try to retrieve the filespec using the device name and FID
773           present in the stat buffer, but this works only if you haven't made
774           a subsequent call to the CRTL stat() routine, because the device
775           name is overwritten with each call.  If this warning appears, the
776           name lookup failed, and the access-checking routine gave up and
777           returned FALSE, just to be conservative.  (Note: The access-
778           checking routine knows about the Perl "stat" operator and file
779           tests, so you shouldn't ever see this warning in response to a Perl
780           command; it arises only if some internal code takes stat buffers
781           lightly.)
782
783       Can't get pipe mailbox device name
784           (P) An error peculiar to VMS.  After creating a mailbox to act as a
785           pipe, Perl can't retrieve its name for later use.
786
787       Can't get SYSGEN parameter value for MAXBUF
788           (P) An error peculiar to VMS.  Perl asked $GETSYI how big you want
789           your mailbox buffers to be, and didn't get an answer.
790
791       Can't "goto" into the middle of a foreach loop
792           (F) A "goto" statement was executed to jump into the middle of a
793           foreach loop.  You can't get there from here.  See "goto" in
794           perlfunc.
795
796       Can't "goto" out of a pseudo block
797           (F) A "goto" statement was executed to jump out of what might look
798           like a block, except that it isn't a proper block.  This usually
799           occurs if you tried to jump out of a sort() block or subroutine,
800           which is a no-no.  See "goto" in perlfunc.
801
802       Can't goto subroutine from a sort sub (or similar callback)
803           (F) The "goto subroutine" call can't be used to jump out of the
804           comparison sub for a sort(), or from a similar callback (such as
805           the reduce() function in List::Util).
806
807       Can't goto subroutine from an eval-%s
808           (F) The "goto subroutine" call can't be used to jump out of an eval
809           "string" or block.
810
811       Can't goto subroutine outside a subroutine
812           (F) The deeply magical "goto subroutine" call can only replace one
813           subroutine call for another.  It can't manufacture one out of whole
814           cloth.  In general you should be calling it out of only an AUTOLOAD
815           routine anyway.  See "goto" in perlfunc.
816
817       Can't ignore signal CHLD, forcing to default
818           (W signal) Perl has detected that it is being run with the SIGCHLD
819           signal (sometimes known as SIGCLD) disabled.  Since disabling this
820           signal will interfere with proper determination of exit status of
821           child processes, Perl has reset the signal to its default value.
822           This situation typically indicates that the parent program under
823           which Perl may be running (e.g. cron) is being very careless.
824
825       Can't kill a non-numeric process ID
826           (F) Process identifiers must be (signed) integers.  It is a fatal
827           error to attempt to kill() an undefined, empty-string or otherwise
828           non-numeric process identifier.
829
830       Can't "last" outside a loop block
831           (F) A "last" statement was executed to break out of the current
832           block, except that there's this itty bitty problem called there
833           isn't a current block.  Note that an "if" or "else" block doesn't
834           count as a "loopish" block, as doesn't a block given to sort(),
835           map() or grep().  You can usually double the curlies to get the
836           same effect though, because the inner curlies will be considered a
837           block that loops once.  See "last" in perlfunc.
838
839       Can't linearize anonymous symbol table
840           (F) Perl tried to calculate the method resolution order (MRO) of a
841           package, but failed because the package stash has no name.
842
843       Can't load '%s' for module %s
844           (F) The module you tried to load failed to load a dynamic
845           extension.  This may either mean that you upgraded your version of
846           perl to one that is incompatible with your old dynamic extensions
847           (which is known to happen between major versions of perl), or (more
848           likely) that your dynamic extension was built against an older
849           version of the library that is installed on your system.  You may
850           need to rebuild your old dynamic extensions.
851
852       Can't localize lexical variable %s
853           (F) You used local on a variable name that was previously declared
854           as a lexical variable using "my" or "state".  This is not allowed.
855           If you want to localize a package variable of the same name,
856           qualify it with the package name.
857
858       Can't localize through a reference
859           (F) You said something like "local $$ref", which Perl can't
860           currently handle, because when it goes to restore the old value of
861           whatever $ref pointed to after the scope of the local() is
862           finished, it can't be sure that $ref will still be a reference.
863
864       Can't locate %s
865           (F) You said to "do" (or "require", or "use") a file that couldn't
866           be found.  Perl looks for the file in all the locations mentioned
867           in @INC, unless the file name included the full path to the file.
868           Perhaps you need to set the PERL5LIB or PERL5OPT environment
869           variable to say where the extra library is, or maybe the script
870           needs to add the library name to @INC.  Or maybe you just
871           misspelled the name of the file.  See "require" in perlfunc and
872           lib.
873
874       Can't locate auto/%s.al in @INC
875           (F) A function (or method) was called in a package which allows
876           autoload, but there is no function to autoload.  Most probable
877           causes are a misprint in a function/method name or a failure to
878           "AutoSplit" the file, say, by doing "make install".
879
880       Can't locate loadable object for module %s in @INC
881           (F) The module you loaded is trying to load an external library,
882           like for example, foo.so or bar.dll, but the DynaLoader module was
883           unable to locate this library.  See DynaLoader.
884
885       Can't locate object method "%s" via package "%s"
886           (F) You called a method correctly, and it correctly indicated a
887           package functioning as a class, but that package doesn't define
888           that particular method, nor does any of its base classes.  See
889           perlobj.
890
891       Can't locate package %s for @%s::ISA
892           (W syntax) The @ISA array contained the name of another package
893           that doesn't seem to exist.
894
895       Can't locate PerlIO%s
896           (F) You tried to use in open() a PerlIO layer that does not exist,
897           e.g. open(FH, ">:nosuchlayer", "somefile").
898
899       Can't make list assignment to %ENV on this system
900           (F) List assignment to %ENV is not supported on some systems,
901           notably VMS.
902
903       Can't modify %s in %s
904           (F) You aren't allowed to assign to the item indicated, or
905           otherwise try to change it, such as with an auto-increment.
906
907       Can't modify nonexistent substring
908           (P) The internal routine that does assignment to a substr() was
909           handed a NULL.
910
911       Can't modify non-lvalue subroutine call
912           (F) Subroutines meant to be used in lvalue context should be
913           declared as such.  See "Lvalue subroutines" in perlsub.
914
915       Can't msgrcv to read-only var
916           (F) The target of a msgrcv must be modifiable to be used as a
917           receive buffer.
918
919       Can't "next" outside a loop block
920           (F) A "next" statement was executed to reiterate the current block,
921           but there isn't a current block.  Note that an "if" or "else" block
922           doesn't count as a "loopish" block, as doesn't a block given to
923           sort(), map() or grep().  You can usually double the curlies to get
924           the same effect though, because the inner curlies will be
925           considered a block that loops once.  See "next" in perlfunc.
926
927       Can't open %s
928           (F) You tried to run a perl built with MAD support with the
929           PERL_XMLDUMP environment variable set, but the file named by that
930           variable could not be opened.
931
932       Can't open %s: %s
933           (S inplace) The implicit opening of a file through use of the "<>"
934           filehandle, either implicitly under the "-n" or "-p" command-line
935           switches, or explicitly, failed for the indicated reason.  Usually
936           this is because you don't have read permission for a file which you
937           named on the command line.
938
939           (F) You tried to call perl with the -e switch, but /dev/null (or
940           your operating system's equivalent) could not be opened.
941
942       Can't open a reference
943           (W io) You tried to open a scalar reference for reading or writing,
944           using the 3-arg open() syntax:
945
946               open FH, '>', $ref;
947
948           but your version of perl is compiled without perlio, and this form
949           of open is not supported.
950
951       Can't open bidirectional pipe
952           (W pipe) You tried to say "open(CMD, "|cmd|")", which is not
953           supported.  You can try any of several modules in the Perl library
954           to do this, such as IPC::Open2.  Alternately, direct the pipe's
955           output to a file using ">", and then read it in under a different
956           file handle.
957
958       Can't open error file %s as stderr
959           (F) An error peculiar to VMS.  Perl does its own command line
960           redirection, and couldn't open the file specified after '2>' or
961           '2>>' on the command line for writing.
962
963       Can't open input file %s as stdin
964           (F) An error peculiar to VMS.  Perl does its own command line
965           redirection, and couldn't open the file specified after '<' on the
966           command line for reading.
967
968       Can't open output file %s as stdout
969           (F) An error peculiar to VMS.  Perl does its own command line
970           redirection, and couldn't open the file specified after '>' or '>>'
971           on the command line for writing.
972
973       Can't open output pipe (name: %s)
974           (P) An error peculiar to VMS.  Perl does its own command line
975           redirection, and couldn't open the pipe into which to send data
976           destined for stdout.
977
978       Can't open perl script "%s": %s
979           (F) The script you specified can't be opened for the indicated
980           reason.
981
982           If you're debugging a script that uses #!, and normally relies on
983           the shell's $PATH search, the -S option causes perl to do that
984           search, so you don't have to type the path or "`which
985           $scriptname`".
986
987       Can't read CRTL environ
988           (S) A warning peculiar to VMS.  Perl tried to read an element of
989           %ENV from the CRTL's internal environment array and discovered the
990           array was missing.  You need to figure out where your CRTL
991           misplaced its environ or define PERL_ENV_TABLES (see perlvms) so
992           that environ is not searched.
993
994       Can't "redo" outside a loop block
995           (F) A "redo" statement was executed to restart the current block,
996           but there isn't a current block.  Note that an "if" or "else" block
997           doesn't count as a "loopish" block, as doesn't a block given to
998           sort(), map() or grep().  You can usually double the curlies to get
999           the same effect though, because the inner curlies will be
1000           considered a block that loops once.  See "redo" in perlfunc.
1001
1002       Can't remove %s: %s, skipping file
1003           (S inplace) You requested an inplace edit without creating a backup
1004           file.  Perl was unable to remove the original file to replace it
1005           with the modified file.  The file was left unmodified.
1006
1007       Can't rename %s to %s: %s, skipping file
1008           (S inplace) The rename done by the -i switch failed for some
1009           reason, probably because you don't have write permission to the
1010           directory.
1011
1012       Can't reopen input pipe (name: %s) in binary mode
1013           (P) An error peculiar to VMS.  Perl thought stdin was a pipe, and
1014           tried to reopen it to accept binary data.  Alas, it failed.
1015
1016       Can't reset %ENV on this system
1017           (F) You called "reset('E')" or similar, which tried to reset all
1018           variables in the current package beginning with "E".  In the main
1019           package, that includes %ENV.  Resetting %ENV is not supported on
1020           some systems, notably VMS.
1021
1022       Can't resolve method "%s" overloading "%s" in package "%s"
1023           (F)(P) Error resolving overloading specified by a method name (as
1024           opposed to a subroutine reference): no such method callable via the
1025           package.  If the method name is "???", this is an internal error.
1026
1027       Can't return %s from lvalue subroutine
1028           (F) Perl detected an attempt to return illegal lvalues (such as
1029           temporary or readonly values) from a subroutine used as an lvalue.
1030           This is not allowed.
1031
1032       Can't return outside a subroutine
1033           (F) The return statement was executed in mainline code, that is,
1034           where there was no subroutine call to return out of.  See perlsub.
1035
1036       Can't return %s to lvalue scalar context
1037           (F) You tried to return a complete array or hash from an lvalue
1038           subroutine, but you called the subroutine in a way that made Perl
1039           think you meant to return only one value.  You probably meant to
1040           write parentheses around the call to the subroutine, which tell
1041           Perl that the call should be in list context.
1042
1043       Can't stat script "%s"
1044           (P) For some reason you can't fstat() the script even though you
1045           have it open already.  Bizarre.
1046
1047       Can't take log of %g
1048           (F) For ordinary real numbers, you can't take the logarithm of a
1049           negative number or zero.  There's a Math::Complex package that
1050           comes standard with Perl, though, if you really want to do that for
1051           the negative numbers.
1052
1053       Can't take sqrt of %g
1054           (F) For ordinary real numbers, you can't take the square root of a
1055           negative number.  There's a Math::Complex package that comes
1056           standard with Perl, though, if you really want to do that.
1057
1058       Can't undef active subroutine
1059           (F) You can't undefine a routine that's currently running.  You
1060           can, however, redefine it while it's running, and you can even
1061           undef the redefined subroutine while the old routine is running.
1062           Go figure.
1063
1064       Can't upgrade %s (%d) to %d
1065           (P) The internal sv_upgrade routine adds "members" to an SV, making
1066           it into a more specialized kind of SV.  The top several SV types
1067           are so specialized, however, that they cannot be interconverted.
1068           This message indicates that such a conversion was attempted.
1069
1070       Can't use '%c' after -mname
1071           (F) You tried to call perl with the -m switch, but you put
1072           something other than "=" after the module name.
1073
1074       Can't use anonymous symbol table for method lookup
1075           (F) The internal routine that does method lookup was handed a
1076           symbol table that doesn't have a name.  Symbol tables can become
1077           anonymous for example by undefining stashes: "undef
1078           %Some::Package::".
1079
1080       Can't use an undefined value as %s reference
1081           (F) A value used as either a hard reference or a symbolic reference
1082           must be a defined value.  This helps to delurk some insidious
1083           errors.
1084
1085       Can't use bareword ("%s") as %s ref while "strict refs" in use
1086           (F) Only hard references are allowed by "strict refs".  Symbolic
1087           references are disallowed.  See perlref.
1088
1089       Can't use %! because Errno.pm is not available
1090           (F) The first time the "%!" hash is used, perl automatically loads
1091           the Errno.pm module.  The Errno module is expected to tie the %!
1092           hash to provide symbolic names for $! errno values.
1093
1094       Can't use both '<' and '>' after type '%c' in %s
1095           (F) A type cannot be forced to have both big-endian and little-
1096           endian byte-order at the same time, so this combination of
1097           modifiers is not allowed.  See "pack" in perlfunc.
1098
1099       Can't use %s for loop variable
1100           (F) Only a simple scalar variable may be used as a loop variable on
1101           a foreach.
1102
1103       Can't use global %s in "%s"
1104           (F) You tried to declare a magical variable as a lexical variable.
1105           This is not allowed, because the magic can be tied to only one
1106           location (namely the global variable) and it would be incredibly
1107           confusing to have variables in your program that looked like
1108           magical variables but weren't.
1109
1110       Can't use '%c' in a group with different byte-order in %s
1111           (F) You attempted to force a different byte-order on a type that is
1112           already inside a group with a byte-order modifier.  For example you
1113           cannot force little-endianness on a type that is inside a big-
1114           endian group.
1115
1116       Can't use "my %s" in sort comparison
1117           (F) The global variables $a and $b are reserved for sort
1118           comparisons.  You mentioned $a or $b in the same line as the <=> or
1119           cmp operator, and the variable had earlier been declared as a
1120           lexical variable.  Either qualify the sort variable with the
1121           package name, or rename the lexical variable.
1122
1123       Can't use %s ref as %s ref
1124           (F) You've mixed up your reference types.  You have to dereference
1125           a reference of the type needed.  You can use the ref() function to
1126           test the type of the reference, if need be.
1127
1128       Can't use string ("%s") as %s ref while "strict refs" in use
1129           (F) Only hard references are allowed by "strict refs".  Symbolic
1130           references are disallowed.  See perlref.
1131
1132       Can't use subscript on %s
1133           (F) The compiler tried to interpret a bracketed expression as a
1134           subscript.  But to the left of the brackets was an expression that
1135           didn't look like a hash or array reference, or anything else
1136           subscriptable.
1137
1138       Can't use \%c to mean $%c in expression
1139           (W syntax) In an ordinary expression, backslash is a unary operator
1140           that creates a reference to its argument.  The use of backslash to
1141           indicate a backreference to a matched substring is valid only as
1142           part of a regular expression pattern.  Trying to do this in
1143           ordinary Perl code produces a value that prints out looking like
1144           SCALAR(0xdecaf).  Use the $1 form instead.
1145
1146       Can't weaken a nonreference
1147           (F) You attempted to weaken something that was not a reference.
1148           Only references can be weakened.
1149
1150       Can't "when" outside a topicalizer
1151           (F) You have used a when() block that is neither inside a "foreach"
1152           loop nor a "given" block.  (Note that this error is issued on exit
1153           from the "when" block, so you won't get the error if the match
1154           fails, or if you use an explicit "continue".)
1155
1156       Can't x= to read-only value
1157           (F) You tried to repeat a constant value (often the undefined
1158           value) with an assignment operator, which implies modifying the
1159           value itself.  Perhaps you need to copy the value to a temporary,
1160           and repeat that.
1161
1162       Character following "\c" must be ASCII
1163           (F)(W deprecated, syntax) In "\cX", X must be an ASCII character.
1164           It is planned to make this fatal in all instances in Perl 5.18.  In
1165           the cases where it isn't fatal, the character this evaluates to is
1166           derived by exclusive or'ing the code point of this character with
1167           0x40.
1168
1169           Note that non-alphabetic ASCII characters are discouraged here as
1170           well.
1171
1172       Character in 'C' format wrapped in pack
1173           (W pack) You said
1174
1175               pack("C", $x)
1176
1177           where $x is either less than 0 or more than 255; the "C" format is
1178           only for encoding native operating system characters (ASCII,
1179           EBCDIC, and so on) and not for Unicode characters, so Perl behaved
1180           as if you meant
1181
1182               pack("C", $x & 255)
1183
1184           If you actually want to pack Unicode codepoints, use the "U" format
1185           instead.
1186
1187       Character in 'W' format wrapped in pack
1188           (W pack) You said
1189
1190               pack("U0W", $x)
1191
1192           where $x is either less than 0 or more than 255.  However,
1193           "U0"-mode expects all values to fall in the interval [0, 255], so
1194           Perl behaved as if you meant:
1195
1196               pack("U0W", $x & 255)
1197
1198       Character in 'c' format wrapped in pack
1199           (W pack) You said
1200
1201               pack("c", $x)
1202
1203           where $x is either less than -128 or more than 127; the "c" format
1204           is only for encoding native operating system characters (ASCII,
1205           EBCDIC, and so on) and not for Unicode characters, so Perl behaved
1206           as if you meant
1207
1208               pack("c", $x & 255);
1209
1210           If you actually want to pack Unicode codepoints, use the "U" format
1211           instead.
1212
1213       Character in '%c' format wrapped in unpack
1214           (W unpack) You tried something like
1215
1216              unpack("H", "\x{2a1}")
1217
1218           where the format expects to process a byte (a character with a
1219           value below 256), but a higher value was provided instead.  Perl
1220           uses the value modulus 256 instead, as if you had provided:
1221
1222              unpack("H", "\x{a1}")
1223
1224       Character(s) in '%c' format wrapped in pack
1225           (W pack) You tried something like
1226
1227              pack("u", "\x{1f3}b")
1228
1229           where the format expects to process a sequence of bytes (character
1230           with a value below 256), but some of the characters had a higher
1231           value.  Perl uses the character values modulus 256 instead, as if
1232           you had provided:
1233
1234              pack("u", "\x{f3}b")
1235
1236       Character(s) in '%c' format wrapped in unpack
1237           (W unpack) You tried something like
1238
1239              unpack("s", "\x{1f3}b")
1240
1241           where the format expects to process a sequence of bytes (character
1242           with a value below 256), but some of the characters had a higher
1243           value.  Perl uses the character values modulus 256 instead, as if
1244           you had provided:
1245
1246              unpack("s", "\x{f3}b")
1247
1248       "\c{" is deprecated and is more clearly written as ";"
1249           (D deprecated, syntax) The "\cX" construct is intended to be a way
1250           to specify non-printable characters.  You used it with a "{" which
1251           evaluates to ";", which is printable.  It is planned to remove the
1252           ability to specify a semi-colon this way in Perl 5.18.  Just use a
1253           semi-colon or a backslash-semi-colon without the "\c".
1254
1255       "\c%c" is more clearly written simply as "%s"
1256           (W syntax) The "\cX" construct is intended to be a way to specify
1257           non-printable characters.  You used it for a printable one, which
1258           is better written as simply itself, perhaps preceded by a backslash
1259           for non-word characters.
1260
1261       Cloning substitution context is unimplemented
1262           (F) Creating a new thread inside the "s///" operator is not
1263           supported.
1264
1265       close() on unopened filehandle %s
1266           (W unopened) You tried to close a filehandle that was never opened.
1267
1268       closedir() attempted on invalid dirhandle %s
1269           (W io) The dirhandle you tried to close is either closed or not
1270           really a dirhandle.  Check your control flow.
1271
1272       Closure prototype called
1273           (F) If a closure has attributes, the subroutine passed to an
1274           attribute handler is the prototype that is cloned when a new
1275           closure is created.  This subroutine cannot be called.
1276
1277       Code missing after '/'
1278           (F) You had a (sub-)template that ends with a '/'.  There must be
1279           another template code following the slash.  See "pack" in perlfunc.
1280
1281       Code point 0x%X is not Unicode, may not be portable
1282       Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches
1283       succeed
1284           (W utf8, non_unicode) You had a code point above the Unicode
1285           maximum of U+10FFFF.
1286
1287           Perl allows strings to contain a superset of Unicode code points,
1288           up to the limit of what is storable in an unsigned integer on your
1289           system, but these may not be accepted by other languages/systems.
1290           At one time, it was legal in some standards to have code points up
1291           to 0x7FFF_FFFF, but not higher.  Code points above 0xFFFF_FFFF
1292           require larger than a 32 bit word.
1293
1294           None of the Unicode or Perl-defined properties will match a non-
1295           Unicode code point.  For example,
1296
1297               chr(0x7FF_FFFF) =~ /\p{Any}/
1298
1299           will not match, because the code point is not in Unicode.  But
1300
1301               chr(0x7FF_FFFF) =~ /\P{Any}/
1302
1303           will match.
1304
1305           This may be counterintuitive at times, as both these fail:
1306
1307            chr(0x110000) =~ \p{ASCII_Hex_Digit=True}      # Fails.
1308            chr(0x110000) =~ \p{ASCII_Hex_Digit=False}     # Also fails!
1309
1310           and both these succeed:
1311
1312            chr(0x110000) =~ \P{ASCII_Hex_Digit=True}      # Succeeds.
1313            chr(0x110000) =~ \P{ASCII_Hex_Digit=False}     # Also succeeds!
1314
1315       %s: Command not found
1316           (A) You've accidentally run your script through csh or another
1317           shell shell instead of Perl.  Check the #! line, or manually feed
1318           your script into Perl yourself.  The #! line at the top of your
1319           file could look like
1320
1321             #!/usr/bin/perl -w
1322
1323       Compilation failed in require
1324           (F) Perl could not compile a file specified in a "require"
1325           statement.  Perl uses this generic message when none of the errors
1326           that it encountered were severe enough to halt compilation
1327           immediately.
1328
1329       Complex regular subexpression recursion limit (%d) exceeded
1330           (W regexp) The regular expression engine uses recursion in complex
1331           situations where back-tracking is required.  Recursion depth is
1332           limited to 32766, or perhaps less in architectures where the stack
1333           cannot grow arbitrarily.  ("Simple" and "medium" situations are
1334           handled without recursion and are not subject to a limit.)  Try
1335           shortening the string under examination; looping in Perl code (e.g.
1336           with "while") rather than in the regular expression engine; or
1337           rewriting the regular expression so that it is simpler or
1338           backtracks less.  (See perlfaq2 for information on Mastering
1339           Regular Expressions.)
1340
1341       cond_broadcast() called on unlocked variable
1342           (W threads) Within a thread-enabled program, you tried to call
1343           cond_broadcast() on a variable which wasn't locked.  The
1344           cond_broadcast() function is used to wake up another thread that is
1345           waiting in a cond_wait().  To ensure that the signal isn't sent
1346           before the other thread has a chance to enter the wait, it is usual
1347           for the signaling thread first to wait for a lock on variable.
1348           This lock attempt will only succeed after the other thread has
1349           entered cond_wait() and thus relinquished the lock.
1350
1351       cond_signal() called on unlocked variable
1352           (W threads) Within a thread-enabled program, you tried to call
1353           cond_signal() on a variable which wasn't locked.  The cond_signal()
1354           function is used to wake up another thread that is waiting in a
1355           cond_wait().  To ensure that the signal isn't sent before the other
1356           thread has a chance to enter the wait, it is usual for the
1357           signaling thread first to wait for a lock on variable.  This lock
1358           attempt will only succeed after the other thread has entered
1359           cond_wait() and thus relinquished the lock.
1360
1361       connect() on closed socket %s
1362           (W closed) You tried to do a connect on a closed socket.  Did you
1363           forget to check the return value of your socket() call?  See
1364           "connect" in perlfunc.
1365
1366       Constant(%s)%s: %s
1367           (F) The parser found inconsistencies either while attempting to
1368           define an overloaded constant, or when trying to find the character
1369           name specified in the "\N{...}" escape.  Perhaps you forgot to load
1370           the corresponding overload pragma?.
1371
1372       Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/
1373           (F) The parser found inconsistencies while attempting to find the
1374           character name specified in the "\N{...}" escape.
1375
1376       Constant is not %s reference
1377           (F) A constant value (perhaps declared using the "use constant"
1378           pragma) is being dereferenced, but it amounts to the wrong type of
1379           reference.  The message indicates the type of reference that was
1380           expected.  This usually indicates a syntax error in dereferencing
1381           the constant value.  See "Constant Functions" in perlsub and
1382           constant.
1383
1384       Constant subroutine %s redefined
1385           (W redefine)(S) You redefined a subroutine which had previously
1386           been eligible for inlining.  See "Constant Functions" in perlsub
1387           for commentary and workarounds.
1388
1389       Constant subroutine %s undefined
1390           (W misc) You undefined a subroutine which had previously been
1391           eligible for inlining.  See "Constant Functions" in perlsub for
1392           commentary and workarounds.
1393
1394       Copy method did not return a reference
1395           (F) The method which overloads "=" is buggy.  See "Copy
1396           Constructor" in overload.
1397
1398       &CORE::%s cannot be called directly
1399           (F) You tried to call a subroutine in the "CORE::" namespace with
1400           &foo syntax or through a reference.  Some subroutines in this
1401           package cannot yet be called that way, but must be called as
1402           barewords.  Something like this will work:
1403
1404               BEGIN { *shove = \&CORE::push; }
1405               shove @array, 1,2,3; # pushes on to @array
1406
1407       CORE::%s is not a keyword
1408           (F) The CORE:: namespace is reserved for Perl keywords.
1409
1410       corrupted regexp pointers
1411           (P) The regular expression engine got confused by what the regular
1412           expression compiler gave it.
1413
1414       corrupted regexp program
1415           (P) The regular expression engine got passed a regexp program
1416           without a valid magic number.
1417
1418       Corrupt malloc ptr 0x%x at 0x%x
1419           (P) The malloc package that comes with Perl had an internal
1420           failure.
1421
1422       Count after length/code in unpack
1423           (F) You had an unpack template indicating a counted-length string,
1424           but you have also specified an explicit size for the string.  See
1425           "pack" in perlfunc.
1426
1427       Deep recursion on anonymous subroutine
1428       Deep recursion on subroutine "%s"
1429           (W recursion) This subroutine has called itself (directly or
1430           indirectly) 100 times more than it has returned.  This probably
1431           indicates an infinite recursion, unless you're writing strange
1432           benchmark programs, in which case it indicates something else.
1433
1434           This threshold can be changed from 100, by recompiling the perl
1435           binary, setting the C pre-processor macro "PERL_SUB_DEPTH_WARN" to
1436           the desired value.
1437
1438       defined(@array) is deprecated
1439           (D deprecated) defined() is not usually useful on arrays because it
1440           checks for an undefined scalar value.  If you want to see if the
1441           array is empty, just use "if (@array) { # not empty }" for example.
1442
1443       defined(%hash) is deprecated
1444           (D deprecated) "defined()" is not usually right on hashes and has
1445           been discouraged since 5.004.
1446
1447           Although "defined %hash" is false on a plain not-yet-used hash, it
1448           becomes true in several non-obvious circumstances, including
1449           iterators, weak references, stash names, even remaining true after
1450           "undef %hash".  These things make "defined %hash" fairly useless in
1451           practice.
1452
1453           If a check for non-empty is what you wanted then just put it in
1454           boolean context (see "Scalar values" in perldata):
1455
1456               if (%hash) {
1457                  # not empty
1458               }
1459
1460           If you had "defined %Foo::Bar::QUUX" to check whether such a
1461           package variable exists then that's never really been reliable, and
1462           isn't a good way to enquire about the features of a package, or
1463           whether it's loaded, etc.
1464
1465       (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in
1466       m/%s/
1467           (F) You used something like "(?(DEFINE)...|..)" which is illegal.
1468           The most likely cause of this error is that you left out a
1469           parenthesis inside of the "...." part.
1470
1471           The <-- HERE shows in the regular expression about where the
1472           problem was discovered.
1473
1474       %s defines neither package nor VERSION--version check failed
1475           (F) You said something like "use Module 42" but in the Module file
1476           there are neither package declarations nor a $VERSION.
1477
1478       Delimiter for here document is too long
1479           (F) In a here document construct like "<<FOO", the label "FOO" is
1480           too long for Perl to handle.  You have to be seriously twisted to
1481           write code that triggers this error.
1482
1483       Deprecated character in \N{...}; marked by <-- HERE  in \N{%s<-- HERE
1484       %s
1485           (D deprecated) Just about anything is legal for the "..." in
1486           "\N{...}".  But starting in 5.12, non-reasonable ones that don't
1487           look like names are deprecated.  A reasonable name begins with an
1488           alphabetic character and continues with any combination of
1489           alphanumerics, dashes, spaces, parentheses or colons.
1490
1491       Deprecated use of my() in false conditional
1492           (D deprecated) You used a declaration similar to "my $x if 0".
1493           There has been a long-standing bug in Perl that causes a lexical
1494           variable not to be cleared at scope exit when its declaration
1495           includes a false conditional.  Some people have exploited this bug
1496           to achieve a kind of static variable.  Since we intend to fix this
1497           bug, we don't want people relying on this behavior.  You can
1498           achieve a similar static effect by declaring the variable in a
1499           separate block outside the function, eg
1500
1501               sub f { my $x if 0; return $x++ }
1502
1503           becomes
1504
1505               { my $x; sub f { return $x++ } }
1506
1507           Beginning with perl 5.9.4, you can also use "state" variables to
1508           have lexicals that are initialized only once (see feature):
1509
1510               sub f { state $x; return $x++ }
1511
1512       DESTROY created new reference to dead object '%s'
1513           (F) A DESTROY() method created a new reference to the object which
1514           is just being DESTROYed.  Perl is confused, and prefers to abort
1515           rather than to create a dangling reference.
1516
1517       Did not produce a valid header
1518           See Server error.
1519
1520       %s did not return a true value
1521           (F) A required (or used) file must return a true value to indicate
1522           that it compiled correctly and ran its initialization code
1523           correctly.  It's traditional to end such a file with a "1;", though
1524           any true value would do.  See "require" in perlfunc.
1525
1526       (Did you mean &%s instead?)
1527           (W misc) You probably referred to an imported subroutine &FOO as
1528           $FOO or some such.
1529
1530       (Did you mean "local" instead of "our"?)
1531           (W misc) Remember that "our" does not localize the declared global
1532           variable.  You have declared it again in the same lexical scope,
1533           which seems superfluous.
1534
1535       (Did you mean $ or @ instead of %?)
1536           (W) You probably said %hash{$key} when you meant $hash{$key} or
1537           @hash{@keys}.  On the other hand, maybe you just meant %hash and
1538           got carried away.
1539
1540       Died
1541           (F) You passed die() an empty string (the equivalent of "die """)
1542           or you called it with no args and $@ was empty.
1543
1544       Document contains no data
1545           See Server error.
1546
1547       %s does not define %s::VERSION--version check failed
1548           (F) You said something like "use Module 42" but the Module did not
1549           define a "$VERSION."
1550
1551       '/' does not take a repeat count
1552           (F) You cannot put a repeat count of any kind right after the '/'
1553           code.  See "pack" in perlfunc.
1554
1555       Don't know how to handle magic of type '%s'
1556           (P) The internal handling of magical variables has been cursed.
1557
1558       do_study: out of memory
1559           (P) This should have been caught by safemalloc() instead.
1560
1561       (Do you need to predeclare %s?)
1562           (S syntax) This is an educated guess made in conjunction with the
1563           message "%s found where operator expected".  It often means a
1564           subroutine or module name is being referenced that hasn't been
1565           declared yet.  This may be because of ordering problems in your
1566           file, or because of a missing "sub", "package", "require", or "use"
1567           statement.  If you're referencing something that isn't defined yet,
1568           you don't actually have to define the subroutine or package before
1569           the current location.  You can use an empty "sub foo;" or "package
1570           FOO;" to enter a "forward" declaration.
1571
1572       dump() better written as CORE::dump()
1573           (W misc) You used the obsolescent "dump()" built-in function,
1574           without fully qualifying it as "CORE::dump()".  Maybe it's a typo.
1575           See "dump" in perlfunc.
1576
1577       dump is not supported
1578           (F) Your machine doesn't support dump/undump.
1579
1580       Duplicate free() ignored
1581           (S malloc) An internal routine called free() on something that had
1582           already been freed.
1583
1584       Duplicate modifier '%c' after '%c' in %s
1585           (W) You have applied the same modifier more than once after a type
1586           in a pack template.  See "pack" in perlfunc.
1587
1588       elseif should be elsif
1589           (S syntax) There is no keyword "elseif" in Perl because Larry
1590           thinks it's ugly.  Your code will be interpreted as an attempt to
1591           call a method named "elseif" for the class returned by the
1592           following block.  This is unlikely to be what you want.
1593
1594       Empty %s
1595           (F) "\p" and "\P" are used to introduce a named Unicode property,
1596           as described in perlunicode and perlre.  You used "\p" or "\P" in a
1597           regular expression without specifying the property name.
1598
1599       entering effective %s failed
1600           (F) While under the "use filetest" pragma, switching the real and
1601           effective uids or gids failed.
1602
1603       %ENV is aliased to %s
1604           (F) You're running under taint mode, and the %ENV variable has been
1605           aliased to another hash, so it doesn't reflect anymore the state of
1606           the program's environment.  This is potentially insecure.
1607
1608       Error converting file specification %s
1609           (F) An error peculiar to VMS.  Because Perl may have to deal with
1610           file specifications in either VMS or Unix syntax, it converts them
1611           to a single form when it must operate on them directly.  Either
1612           you've passed an invalid file specification to Perl, or you've
1613           found a case the conversion routines don't handle.  Drat.
1614
1615       %s: Eval-group in insecure regular expression
1616           (F) Perl detected tainted data when trying to compile a regular
1617           expression that contains the "(?{ ... })" zero-width assertion,
1618           which is unsafe.  See "(?{ code })" in perlre, and perlsec.
1619
1620       %s: Eval-group not allowed at runtime, use re 'eval'
1621           (F) Perl tried to compile a regular expression containing the "(?{
1622           ... })" zero-width assertion at run time, as it would when the
1623           pattern contains interpolated values.  Since that is a security
1624           risk, it is not allowed.  If you insist, you may still do this by
1625           using the "re 'eval'" pragma or by explicitly building the pattern
1626           from an interpolated string at run time and using that in an
1627           eval().  See "(?{ code })" in perlre.
1628
1629       %s: Eval-group not allowed, use re 'eval'
1630           (F) A regular expression contained the "(?{ ... })" zero-width
1631           assertion, but that construct is only allowed when the "use re
1632           'eval'" pragma is in effect.  See "(?{ code })" in perlre.
1633
1634       EVAL without pos change exceeded limit in regex; marked by <-- HERE in
1635       m/%s/
1636           (F) You used a pattern that nested too many EVAL calls without
1637           consuming any text.  Restructure the pattern so that text is
1638           consumed.
1639
1640           The <-- HERE shows in the regular expression about where the
1641           problem was discovered.
1642
1643       Excessively long <> operator
1644           (F) The contents of a <> operator may not exceed the maximum size
1645           of a Perl identifier.  If you're just trying to glob a long list of
1646           filenames, try using the glob() operator, or put the filenames into
1647           a variable and glob that.
1648
1649       exec? I'm not *that* kind of operating system
1650           (F) The "exec" function is not implemented on some systems, e.g.,
1651           Symbian OS.  See perlport.
1652
1653       Execution of %s aborted due to compilation errors.
1654           (F) The final summary message when a Perl compilation fails.
1655
1656       Exiting eval via %s
1657           (W exiting) You are exiting an eval by unconventional means, such
1658           as a goto, or a loop control statement.
1659
1660       Exiting format via %s
1661           (W exiting) You are exiting a format by unconventional means, such
1662           as a goto, or a loop control statement.
1663
1664       Exiting pseudo-block via %s
1665           (W exiting) You are exiting a rather special block construct (like
1666           a sort block or subroutine) by unconventional means, such as a
1667           goto, or a loop control statement.  See "sort" in perlfunc.
1668
1669       Exiting subroutine via %s
1670           (W exiting) You are exiting a subroutine by unconventional means,
1671           such as a goto, or a loop control statement.
1672
1673       Exiting substitution via %s
1674           (W exiting) You are exiting a substitution by unconventional means,
1675           such as a return, a goto, or a loop control statement.
1676
1677       Explicit blessing to '' (assuming package main)
1678           (W misc) You are blessing a reference to a zero length string.
1679           This has the effect of blessing the reference into the package
1680           main.  This is usually not what you want.  Consider providing a
1681           default target package, e.g. bless($ref, $p || 'MyPackage');
1682
1683       %s: Expression syntax
1684           (A) You've accidentally run your script through csh instead of
1685           Perl.  Check the #! line, or manually feed your script into Perl
1686           yourself.
1687
1688       %s failed--call queue aborted
1689           (F) An untrapped exception was raised while executing a UNITCHECK,
1690           CHECK, INIT, or END subroutine.  Processing of the remainder of the
1691           queue of such routines has been prematurely ended.
1692
1693       False [] range "%s" in regex; marked by <-- HERE in m/%s/
1694           (W regexp) A character class range must start and end at a literal
1695           character, not another character class like "\d" or "[:alpha:]".
1696           The "-" in your false range is interpreted as a literal "-".
1697           Consider quoting the "-", "\-".  The <-- HERE shows in the regular
1698           expression about where the problem was discovered.  See perlre.
1699
1700       Fatal VMS error (status=%d) at %s, line %d
1701           (P) An error peculiar to VMS.  Something untoward happened in a VMS
1702           system service or RTL routine; Perl's exit status should provide
1703           more details.  The filename in "at %s" and the line number in "line
1704           %d" tell you which section of the Perl source code is distressed.
1705
1706       fcntl is not implemented
1707           (F) Your machine apparently doesn't implement fcntl().  What is
1708           this, a PDP-11 or something?
1709
1710       FETCHSIZE returned a negative value
1711           (F) A tied array claimed to have a negative number of elements,
1712           which is not possible.
1713
1714       Field too wide in 'u' format in pack
1715           (W pack) Each line in an uuencoded string start with a length
1716           indicator which can't encode values above 63.  So there is no point
1717           in asking for a line length bigger than that.  Perl will behave as
1718           if you specified "u63" as the format.
1719
1720       Filehandle %s opened only for input
1721           (W io) You tried to write on a read-only filehandle.  If you
1722           intended it to be a read-write filehandle, you needed to open it
1723           with "+<" or "+>" or "+>>" instead of with "<" or nothing.  If you
1724           intended only to write the file, use ">" or ">>".  See "open" in
1725           perlfunc.
1726
1727       Filehandle %s opened only for output
1728           (W io) You tried to read from a filehandle opened only for writing,
1729           If you intended it to be a read/write filehandle, you needed to
1730           open it with "+<" or "+>" or "+>>" instead of with ">".  If you
1731           intended only to read from the file, use "<".  See "open" in
1732           perlfunc.  Another possibility is that you attempted to open
1733           filedescriptor 0 (also known as STDIN) for output (maybe you closed
1734           STDIN earlier?).
1735
1736       Filehandle %s reopened as %s only for input
1737           (W io) You opened for reading a filehandle that got the same
1738           filehandle id as STDOUT or STDERR.  This occurred because you
1739           closed STDOUT or STDERR previously.
1740
1741       Filehandle STDIN reopened as %s only for output
1742           (W io) You opened for writing a filehandle that got the same
1743           filehandle id as STDIN.  This occurred because you closed STDIN
1744           previously.
1745
1746       Final $ should be \$ or $name
1747           (F) You must now decide whether the final $ in a string was meant
1748           to be a literal dollar sign, or was meant to introduce a variable
1749           name that happens to be missing.  So you have to put either the
1750           backslash or the name.
1751
1752       flock() on closed filehandle %s
1753           (W closed) The filehandle you're attempting to flock() got itself
1754           closed some time before now.  Check your control flow.  flock()
1755           operates on filehandles.  Are you attempting to call flock() on a
1756           dirhandle by the same name?
1757
1758       Format not terminated
1759           (F) A format must be terminated by a line with a solitary dot.
1760           Perl got to the end of your file without finding such a line.
1761
1762       Format %s redefined
1763           (W redefine) You redefined a format.  To suppress this warning, say
1764
1765               {
1766                   no warnings 'redefine';
1767                   eval "format NAME =...";
1768               }
1769
1770       Found = in conditional, should be ==
1771           (W syntax) You said
1772
1773               if ($foo = 123)
1774
1775           when you meant
1776
1777               if ($foo == 123)
1778
1779           (or something like that).
1780
1781       %s found where operator expected
1782           (S syntax) The Perl lexer knows whether to expect a term or an
1783           operator.  If it sees what it knows to be a term when it was
1784           expecting to see an operator, it gives you this warning.  Usually
1785           it indicates that an operator or delimiter was omitted, such as a
1786           semicolon.
1787
1788       gdbm store returned %d, errno %d, key "%s"
1789           (S) A warning from the GDBM_File extension that a store failed.
1790
1791       gethostent not implemented
1792           (F) Your C library apparently doesn't implement gethostent(),
1793           probably because if it did, it'd feel morally obligated to return
1794           every hostname on the Internet.
1795
1796       get%sname() on closed socket %s
1797           (W closed) You tried to get a socket or peer socket name on a
1798           closed socket.  Did you forget to check the return value of your
1799           socket() call?
1800
1801       getpwnam returned invalid UIC %#o for user "%s"
1802           (S) A warning peculiar to VMS.  The call to "sys$getuai" underlying
1803           the "getpwnam" operator returned an invalid UIC.
1804
1805       getsockopt() on closed socket %s
1806           (W closed) You tried to get a socket option on a closed socket.
1807           Did you forget to check the return value of your socket() call?
1808           See "getsockopt" in perlfunc.
1809
1810       Global symbol "%s" requires explicit package name
1811           (F) You've said "use strict" or "use strict vars", which indicates
1812           that all variables must either be lexically scoped (using "my" or
1813           "state"), declared beforehand using "our", or explicitly qualified
1814           to say which package the global variable is in (using "::").
1815
1816       glob failed (%s)
1817           (S glob) Something went wrong with the external program(s) used for
1818           "glob" and "<*.c>".  Usually, this means that you supplied a "glob"
1819           pattern that caused the external program to fail and exit with a
1820           nonzero status.  If the message indicates that the abnormal exit
1821           resulted in a coredump, this may also mean that your csh (C shell)
1822           is broken.  If so, you should change all of the csh-related
1823           variables in config.sh:  If you have tcsh, make the variables refer
1824           to it as if it were csh (e.g. "full_csh='/usr/bin/tcsh'");
1825           otherwise, make them all empty (except that "d_csh" should be
1826           'undef') so that Perl will think csh is missing.  In either case,
1827           after editing config.sh, run "./Configure -S" and rebuild Perl.
1828
1829       Glob not terminated
1830           (F) The lexer saw a left angle bracket in a place where it was
1831           expecting a term, so it's looking for the corresponding right angle
1832           bracket, and not finding it.  Chances are you left some needed
1833           parentheses out earlier in the line, and you really meant a "less
1834           than".
1835
1836       gmtime(%f) too large
1837           (W overflow) You called "gmtime" with a number that was larger than
1838           it can reliably handle and "gmtime" probably returned the wrong
1839           date.  This warning is also triggered with NaN (the special not-a-
1840           number value).
1841
1842       gmtime(%f) too small
1843           (W overflow) You called "gmtime" with a number that was smaller
1844           than it can reliably handle and "gmtime" probably returned the
1845           wrong date.
1846
1847       Got an error from DosAllocMem
1848           (P) An error peculiar to OS/2.  Most probably you're using an
1849           obsolete version of Perl, and this should not happen anyway.
1850
1851       goto must have label
1852           (F) Unlike with "next" or "last", you're not allowed to goto an
1853           unspecified destination.  See "goto" in perlfunc.
1854
1855       Goto undefined subroutine%s
1856           (F) You tried to call a subroutine with "goto &sub" syntax, but the
1857           indicated subroutine hasn't been defined, or if it was, it has
1858           since been undefined.
1859
1860       ()-group starts with a count
1861           (F) A ()-group started with a count.  A count is supposed to follow
1862           something: a template character or a ()-group.  See "pack" in
1863           perlfunc.
1864
1865       %s had compilation errors.
1866           (F) The final summary message when a "perl -c" fails.
1867
1868       Had to create %s unexpectedly
1869           (S internal) A routine asked for a symbol from a symbol table that
1870           ought to have existed already, but for some reason it didn't, and
1871           had to be created on an emergency basis to prevent a core dump.
1872
1873       Hash %%s missing the % in argument %d of %s()
1874           (D deprecated) Really old Perl let you omit the % on hash names in
1875           some spots.  This is now heavily deprecated.
1876
1877       %s has too many errors
1878           (F) The parser has given up trying to parse the program after 10
1879           errors.  Further error messages would likely be uninformative.
1880
1881       Having no space between pattern and following word is deprecated
1882           (D syntax)
1883
1884           You had a word that isn't a regex modifier immediately following a
1885           pattern without an intervening space.  If you are trying to use the
1886           "/le" flags on a substitution, use "/el" instead.  Otherwise, add
1887           white space between the pattern and following word to eliminate the
1888           warning.  As an example of the latter, the two constructs:
1889
1890            $a =~ m/$foo/sand $bar
1891            $a =~ m/$foo/s and $bar
1892
1893           both currently mean the same thing, but it is planned to disallow
1894           the first form in Perl 5.18.  And,
1895
1896            $a =~ m/$foo/and $bar
1897
1898           will be disallowed too.
1899
1900       Hexadecimal number > 0xffffffff non-portable
1901           (W portable) The hexadecimal number you specified is larger than
1902           2**32-1 (4294967295) and therefore non-portable between systems.
1903           See perlport for more on portability concerns.
1904
1905       Identifier too long
1906           (F) Perl limits identifiers (names for variables, functions, etc.)
1907           to about 250 characters for simple names, and somewhat more for
1908           compound names (like $A::B).  You've exceeded Perl's limits.
1909           Future versions of Perl are likely to eliminate these arbitrary
1910           limitations.
1911
1912       Ignoring zero length \N{} in character class
1913           (W) Named Unicode character escapes "(\N{...})" may return a zero-
1914           length sequence.  When such an escape is used in a character class
1915           its behaviour is not well defined.  Check that the correct escape
1916           has been used, and the correct charname handler is in scope.
1917
1918       Illegal binary digit %s
1919           (F) You used a digit other than 0 or 1 in a binary number.
1920
1921       Illegal binary digit %s ignored
1922           (W digit) You may have tried to use a digit other than 0 or 1 in a
1923           binary number.  Interpretation of the binary number stopped before
1924           the offending digit.
1925
1926       Illegal character after '_' in prototype for %s : %s
1927           (W illegalproto) An illegal character was found in a prototype
1928           declaration.  Legal characters in prototypes are $, @, %, *, ;, [,
1929           ], &, \, and +.
1930
1931       Illegal character \%o (carriage return)
1932           (F) Perl normally treats carriage returns in the program text as it
1933           would any other whitespace, which means you should never see this
1934           error when Perl was built using standard options.  For some reason,
1935           your version of Perl appears to have been built without this
1936           support.  Talk to your Perl administrator.
1937
1938       Illegal character in prototype for %s : %s
1939           (W illegalproto) An illegal character was found in a prototype
1940           declaration.  Legal characters in prototypes are $, @, %, *, ;, [,
1941           ], &, \, and +.
1942
1943       Illegal declaration of anonymous subroutine
1944           (F) When using the "sub" keyword to construct an anonymous
1945           subroutine, you must always specify a block of code.  See perlsub.
1946
1947       Illegal declaration of subroutine %s
1948           (F) A subroutine was not declared correctly.  See perlsub.
1949
1950       Illegal division by zero
1951           (F) You tried to divide a number by 0.  Either something was wrong
1952           in your logic, or you need to put a conditional in to guard against
1953           meaningless input.
1954
1955       Illegal hexadecimal digit %s ignored
1956           (W digit) You may have tried to use a character other than 0 - 9 or
1957           A - F, a - f in a hexadecimal number.  Interpretation of the
1958           hexadecimal number stopped before the illegal character.
1959
1960       Illegal modulus zero
1961           (F) You tried to divide a number by 0 to get the remainder.  Most
1962           numbers don't take to this kindly.
1963
1964       Illegal number of bits in vec
1965           (F) The number of bits in vec() (the third argument) must be a
1966           power of two from 1 to 32 (or 64, if your platform supports that).
1967
1968       Illegal octal digit %s
1969           (F) You used an 8 or 9 in an octal number.
1970
1971       Illegal octal digit %s ignored
1972           (W digit) You may have tried to use an 8 or 9 in an octal number.
1973           Interpretation of the octal number stopped before the 8 or 9.
1974
1975       Illegal switch in PERL5OPT: -%c
1976           (X) The PERL5OPT environment variable may only be used to set the
1977           following switches: -[CDIMUdmtw].
1978
1979       Ill-formed CRTL environ value "%s"
1980           (W internal) A warning peculiar to VMS.  Perl tried to read the
1981           CRTL's internal environ array, and encountered an element without
1982           the "=" delimiter used to separate keys from values.  The element
1983           is ignored.
1984
1985       Ill-formed message in prime_env_iter: |%s|
1986           (W internal) A warning peculiar to VMS.  Perl tried to read a
1987           logical name or CLI symbol definition when preparing to iterate
1988           over %ENV, and didn't see the expected delimiter between key and
1989           value, so the line was ignored.
1990
1991       (in cleanup) %s
1992           (W misc) This prefix usually indicates that a DESTROY() method
1993           raised the indicated exception.  Since destructors are usually
1994           called by the system at arbitrary points during execution, and
1995           often a vast number of times, the warning is issued only once for
1996           any number of failures that would otherwise result in the same
1997           message being repeated.
1998
1999           Failure of user callbacks dispatched using the "G_KEEPERR" flag
2000           could also result in this warning.  See "G_KEEPERR" in perlcall.
2001
2002       Inconsistent hierarchy during C3 merge of class '%s': merging failed on
2003       parent '%s'
2004           (F) The method resolution order (MRO) of the given class is not
2005           C3-consistent, and you have enabled the C3 MRO for this class.  See
2006           the C3 documentation in mro for more information.
2007
2008       In EBCDIC the v-string components cannot exceed 2147483647
2009           (F) An error peculiar to EBCDIC.  Internally, v-strings are stored
2010           as Unicode code points, and encoded in EBCDIC as UTF-EBCDIC.  The
2011           UTF-EBCDIC encoding is limited to code points no larger than
2012           2147483647 (0x7FFFFFFF).
2013
2014       Infinite recursion in regex; marked by <-- HERE in m/%s/
2015           (F) You used a pattern that references itself without consuming any
2016           input text.  You should check the pattern to ensure that recursive
2017           patterns either consume text or fail.
2018
2019           The <-- HERE shows in the regular expression about where the
2020           problem was discovered.
2021
2022       Initialization of state variables in list context currently forbidden
2023           (F) Currently the implementation of "state" only permits the
2024           initialization of scalar variables in scalar context.  Re-write
2025           "state ($a) = 42" as "state $a = 42" to change from list to scalar
2026           context.  Constructions such as "state (@a) = foo()" will be
2027           supported in a future perl release.
2028
2029       Insecure dependency in %s
2030           (F) You tried to do something that the tainting mechanism didn't
2031           like.  The tainting mechanism is turned on when you're running
2032           setuid or setgid, or when you specify -T to turn it on explicitly.
2033           The tainting mechanism labels all data that's derived directly or
2034           indirectly from the user, who is considered to be unworthy of your
2035           trust.  If any such data is used in a "dangerous" operation, you
2036           get this error.  See perlsec for more information.
2037
2038       Insecure directory in %s
2039           (F) You can't use system(), exec(), or a piped open in a setuid or
2040           setgid script if $ENV{PATH} contains a directory that is writable
2041           by the world.  Also, the PATH must not contain any relative
2042           directory.  See perlsec.
2043
2044       Insecure $ENV{%s} while running %s
2045           (F) You can't use system(), exec(), or a piped open in a setuid or
2046           setgid script if any of $ENV{PATH}, $ENV{IFS}, $ENV{CDPATH},
2047           $ENV{ENV}, $ENV{BASH_ENV} or $ENV{TERM} are derived from data
2048           supplied (or potentially supplied) by the user.  The script must
2049           set the path to a known value, using trustworthy data.  See
2050           perlsec.
2051
2052       Insecure user-defined property %s
2053           (F) Perl detected tainted data when trying to compile a regular
2054           expression that contains a call to a user-defined character
2055           property function, i.e. "\p{IsFoo}" or "\p{InFoo}".  See "User-
2056           Defined Character Properties" in perlunicode and perlsec.
2057
2058       Integer overflow in format string for %s
2059           (F) The indexes and widths specified in the format string of
2060           "printf()" or "sprintf()" are too large.  The numbers must not
2061           overflow the size of integers for your architecture.
2062
2063       Integer overflow in %s number
2064           (W overflow) The hexadecimal, octal or binary number you have
2065           specified either as a literal or as an argument to hex() or oct()
2066           is too big for your architecture, and has been converted to a
2067           floating point number.  On a 32-bit architecture the largest
2068           hexadecimal, octal or binary number representable without overflow
2069           is 0xFFFFFFFF, 037777777777, or 0b11111111111111111111111111111111
2070           respectively.  Note that Perl transparently promotes all numbers to
2071           a floating point representation internally--subject to loss of
2072           precision errors in subsequent operations.
2073
2074       Integer overflow in version
2075           (F) Some portion of a version initialization is too large for the
2076           size of integers for your architecture.  This is not a warning
2077           because there is no rational reason for a version to try and use a
2078           element larger than typically 2**32.  This is usually caused by
2079           trying to use some odd mathematical operation as a version, like
2080           100/9.
2081
2082       Internal disaster in regex; marked by <-- HERE in m/%s/
2083           (P) Something went badly wrong in the regular expression parser.
2084           The <-- HERE shows in the regular expression about where the
2085           problem was discovered.
2086
2087       Internal inconsistency in tracking vforks
2088           (S) A warning peculiar to VMS.  Perl keeps track of the number of
2089           times you've called "fork" and "exec", to determine whether the
2090           current call to "exec" should affect the current script or a
2091           subprocess (see "exec LIST" in perlvms).  Somehow, this count has
2092           become scrambled, so Perl is making a guess and treating this
2093           "exec" as a request to terminate the Perl script and execute the
2094           specified command.
2095
2096       Internal urp in regex; marked by <-- HERE in m/%s/
2097           (P) Something went badly awry in the regular expression parser.
2098           The <-- HERE shows in the regular expression about where the
2099           problem was discovered.
2100
2101       %s (...) interpreted as function
2102           (W syntax) You've run afoul of the rule that says that any list
2103           operator followed by parentheses turns into a function, with all
2104           the list operators arguments found inside the parentheses.  See
2105           "Terms and List Operators (Leftward)" in perlop.
2106
2107       Invalid %s attribute: %s
2108           (F) The indicated attribute for a subroutine or variable was not
2109           recognized by Perl or by a user-supplied handler.  See attributes.
2110
2111       Invalid %s attributes: %s
2112           (F) The indicated attributes for a subroutine or variable were not
2113           recognized by Perl or by a user-supplied handler.  See attributes.
2114
2115       Invalid conversion in %s: "%s"
2116           (W printf) Perl does not understand the given format conversion.
2117           See "sprintf" in perlfunc.
2118
2119       Invalid escape in the specified encoding in regex; marked by <-- HERE
2120       in m/%s/
2121           (W regexp) The numeric escape (for example "\xHH") of value < 256
2122           didn't correspond to a single character through the conversion from
2123           the encoding specified by the encoding pragma.  The escape was
2124           replaced with REPLACEMENT CHARACTER (U+FFFD) instead.  The <-- HERE
2125           shows in the regular expression about where the escape was
2126           discovered.
2127
2128       Invalid hexadecimal number in \N{U+...}
2129           (F) The character constant represented by "..." is not a valid
2130           hexadecimal number.  Either it is empty, or you tried to use a
2131           character other than 0 - 9 or A - F, a - f in a hexadecimal number.
2132
2133       Invalid module name %s with -%c option: contains single ':'
2134           (F) The module argument to perl's -m and -M command-line options
2135           cannot contain single colons in the module name, but only in the
2136           arguments after "=".  In other words, -MFoo::Bar=:baz is ok, but
2137           -MFoo:Bar=baz is not.
2138
2139       Invalid mro name: '%s'
2140           (F) You tried to "mro::set_mro("classname", "foo")" or "use mro
2141           'foo'", where "foo" is not a valid method resolution order (MRO).
2142           Currently, the only valid ones supported are "dfs" and "c3", unless
2143           you have loaded a module that is a MRO plugin.  See mro and
2144           perlmroapi.
2145
2146       invalid option -D%c, use -D'' to see choices
2147           (F) Perl was called with invalid debugger flags.  Call perl with
2148           the -D option with no flags to see the list of acceptable values.
2149           See also "-Dletters" in perlrun.
2150
2151       Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/
2152           (F) The range specified in a character class had a minimum
2153           character greater than the maximum character.  One possibility is
2154           that you forgot the "{}" from your ending "\x{}" - "\x" without the
2155           curly braces can go only up to "ff".  The <-- HERE shows in the
2156           regular expression about where the problem was discovered.  See
2157           perlre.
2158
2159       Invalid range "%s" in transliteration operator
2160           (F) The range specified in the tr/// or y/// operator had a minimum
2161           character greater than the maximum character.  See perlop.
2162
2163       Invalid separator character %s in attribute list
2164           (F) Something other than a colon or whitespace was seen between the
2165           elements of an attribute list.  If the previous attribute had a
2166           parenthesised parameter list, perhaps that list was terminated too
2167           soon.  See attributes.
2168
2169       Invalid separator character %s in PerlIO layer specification %s
2170           (W layer) When pushing layers onto the Perl I/O system, something
2171           other than a colon or whitespace was seen between the elements of a
2172           layer list.  If the previous attribute had a parenthesised
2173           parameter list, perhaps that list was terminated too soon.
2174
2175       Invalid strict version format (%s)
2176           (F) A version number did not meet the "strict" criteria for
2177           versions.  A "strict" version number is a positive decimal number
2178           (integer or decimal-fraction) without exponentiation or else a
2179           dotted-decimal v-string with a leading 'v' character and at least
2180           three components.  The parenthesized text indicates which criteria
2181           were not met.  See the version module for more details on allowed
2182           version formats.
2183
2184       Invalid type '%s' in %s
2185           (F) The given character is not a valid pack or unpack type.  See
2186           "pack" in perlfunc.
2187
2188           (W) The given character is not a valid pack or unpack type but used
2189           to be silently ignored.
2190
2191       Invalid version format (%s)
2192           (F) A version number did not meet the "lax" criteria for versions.
2193           A "lax" version number is a positive decimal number (integer or
2194           decimal-fraction) without exponentiation or else a dotted-decimal
2195           v-string.  If the v-string has fewer than three components, it must
2196           have a leading 'v' character.  Otherwise, the leading 'v' is
2197           optional.  Both decimal and dotted-decimal versions may have a
2198           trailing "alpha" component separated by an underscore character
2199           after a fractional or dotted-decimal component.  The parenthesized
2200           text indicates which criteria were not met.  See the version module
2201           for more details on allowed version formats.
2202
2203       Invalid version object
2204           (F) The internal structure of the version object was invalid.
2205           Perhaps the internals were modified directly in some way or an
2206           arbitrary reference was blessed into the "version" class.
2207
2208       ioctl is not implemented
2209           (F) Your machine apparently doesn't implement ioctl(), which is
2210           pretty strange for a machine that supports C.
2211
2212       ioctl() on unopened %s
2213           (W unopened) You tried ioctl() on a filehandle that was never
2214           opened.  Check your control flow and number of arguments.
2215
2216       IO layers (like '%s') unavailable
2217           (F) Your Perl has not been configured to have PerlIO, and therefore
2218           you cannot use IO layers.  To have PerlIO, Perl must be configured
2219           with 'useperlio'.
2220
2221       IO::Socket::atmark not implemented on this architecture
2222           (F) Your machine doesn't implement the sockatmark() functionality,
2223           neither as a system call nor an ioctl call (SIOCATMARK).
2224
2225       $* is no longer supported
2226           (D deprecated, syntax) The special variable $*, deprecated in older
2227           perls, has been removed as of 5.9.0 and is no longer supported.  In
2228           previous versions of perl the use of $* enabled or disabled multi-
2229           line matching within a string.
2230
2231           Instead of using $* you should use the "/m" (and maybe "/s") regexp
2232           modifiers.  You can enable "/m" for a lexical scope (even a whole
2233           file) with "use re '/m'".  (In older versions: when $* was set to a
2234           true value then all regular expressions behaved as if they were
2235           written using "/m".)
2236
2237       $# is no longer supported
2238           (D deprecated, syntax) The special variable $#, deprecated in older
2239           perls, has been removed as of 5.9.3 and is no longer supported.
2240           You should use the printf/sprintf functions instead.
2241
2242       '%s' is not a code reference
2243           (W overload) The second (fourth, sixth, ...) argument of
2244           overload::constant needs to be a code reference.  Either an
2245           anonymous subroutine, or a reference to a subroutine.
2246
2247       '%s' is not an overloadable type
2248           (W overload) You tried to overload a constant type the overload
2249           package is unaware of.
2250
2251       junk on end of regexp
2252           (P) The regular expression parser is confused.
2253
2254       Label not found for "last %s"
2255           (F) You named a loop to break out of, but you're not currently in a
2256           loop of that name, not even if you count where you were called
2257           from.  See "last" in perlfunc.
2258
2259       Label not found for "next %s"
2260           (F) You named a loop to continue, but you're not currently in a
2261           loop of that name, not even if you count where you were called
2262           from.  See "last" in perlfunc.
2263
2264       Label not found for "redo %s"
2265           (F) You named a loop to restart, but you're not currently in a loop
2266           of that name, not even if you count where you were called from.
2267           See "last" in perlfunc.
2268
2269       leaving effective %s failed
2270           (F) While under the "use filetest" pragma, switching the real and
2271           effective uids or gids failed.
2272
2273       length/code after end of string in unpack
2274           (F) While unpacking, the string buffer was already used up when an
2275           unpack length/code combination tried to obtain more data.  This
2276           results in an undefined value for the length.  See "pack" in
2277           perlfunc.
2278
2279       length() used on %s
2280           (W syntax) You used length() on either an array or a hash when you
2281           probably wanted a count of the items.
2282
2283           Array size can be obtained by doing:
2284
2285               scalar(@array);
2286
2287           The number of items in a hash can be obtained by doing:
2288
2289               scalar(keys %hash);
2290
2291       Lexing code attempted to stuff non-Latin-1 character into Latin-1 input
2292           (F) An extension is attempting to insert text into the current
2293           parse (using lex_stuff_pvn or similar), but tried to insert a
2294           character that couldn't be part of the current input.  This is an
2295           inherent pitfall of the stuffing mechanism, and one of the reasons
2296           to avoid it.  Where it is necessary to stuff, stuffing only plain
2297           ASCII is recommended.
2298
2299       Lexing code internal error (%s)
2300           (F) Lexing code supplied by an extension violated the lexer's API
2301           in a detectable way.
2302
2303       listen() on closed socket %s
2304           (W closed) You tried to do a listen on a closed socket.  Did you
2305           forget to check the return value of your socket() call?  See
2306           "listen" in perlfunc.
2307
2308       List form of piped open not implemented
2309           (F) On some platforms, notably Windows, the three-or-more-arguments
2310           form of "open" does not support pipes, such as "open($pipe, '|-',
2311           @args)".  Use the two-argument "open($pipe, '|prog arg1 arg2...')"
2312           form instead.
2313
2314       localtime(%f) too large
2315           (W overflow) You called "localtime" with a number that was larger
2316           than it can reliably handle and "localtime" probably returned the
2317           wrong date.  This warning is also triggered with NaN (the special
2318           not-a-number value).
2319
2320       localtime(%f) too small
2321           (W overflow) You called "localtime" with a number that was smaller
2322           than it can reliably handle and "localtime" probably returned the
2323           wrong date.
2324
2325       Lookbehind longer than %d not implemented in regex m/%s/
2326           (F) There is currently a limit on the length of string which
2327           lookbehind can handle.  This restriction may be eased in a future
2328           release.
2329
2330       Lost precision when %s %f by 1
2331           (W) The value you attempted to increment or decrement by one is too
2332           large for the underlying floating point representation to store
2333           accurately, hence the target of "++" or "--" is unchanged.  Perl
2334           issues this warning because it has already switched from integers
2335           to floating point when values are too large for integers, and now
2336           even floating point is insufficient.  You may wish to switch to
2337           using Math::BigInt explicitly.
2338
2339       lstat() on filehandle%s
2340           (W io) You tried to do an lstat on a filehandle.  What did you mean
2341           by that?  lstat() makes sense only on filenames.  (Perl did a
2342           fstat() instead on the filehandle.)
2343
2344       lvalue attribute %s already-defined subroutine
2345           (W misc) Although attributes.pm allows this, turning the lvalue
2346           attribute on or off on a Perl subroutine that is already defined
2347           does not always work properly.  It may or may not do what you want,
2348           depending on what code is inside the subroutine, with exact details
2349           subject to change between Perl versions.  Only do this if you
2350           really know what you are doing.
2351
2352       lvalue attribute ignored after the subroutine has been defined
2353           (W misc) Using the ":lvalue" declarative syntax to make a Perl
2354           subroutine an lvalue subroutine after it has been defined is not
2355           permitted.  To make the subroutine an lvalue subroutine, add the
2356           lvalue attribute to the definition, or put the "sub foo :lvalue;"
2357           declaration before the definition.
2358
2359           See also attributes.pm.
2360
2361       Malformed integer in [] in pack
2362           (F) Between the brackets enclosing a numeric repeat count only
2363           digits are permitted.  See "pack" in perlfunc.
2364
2365       Malformed integer in [] in unpack
2366           (F) Between the brackets enclosing a numeric repeat count only
2367           digits are permitted.  See "pack" in perlfunc.
2368
2369       Malformed PERLLIB_PREFIX
2370           (F) An error peculiar to OS/2.  PERLLIB_PREFIX should be of the
2371           form
2372
2373               prefix1;prefix2
2374
2375           or
2376               prefix1 prefix2
2377
2378           with nonempty prefix1 and prefix2.  If "prefix1" is indeed a prefix
2379           of a builtin library search path, prefix2 is substituted.  The
2380           error may appear if components are not found, or are too long.  See
2381           "PERLLIB_PREFIX" in perlos2.
2382
2383       Malformed prototype for %s: %s
2384           (F) You tried to use a function with a malformed prototype.  The
2385           syntax of function prototypes is given a brief compile-time check
2386           for obvious errors like invalid characters.  A more rigorous check
2387           is run when the function is called.
2388
2389       Malformed UTF-8 character (%s)
2390           (S utf8)(F) Perl detected a string that didn't comply with UTF-8
2391           encoding rules, even though it had the UTF8 flag on.
2392
2393           One possible cause is that you set the UTF8 flag yourself for data
2394           that you thought to be in UTF-8 but it wasn't (it was for example
2395           legacy 8-bit data).  To guard against this, you can use
2396           Encode::decode_utf8.
2397
2398           If you use the ":encoding(UTF-8)" PerlIO layer for input, invalid
2399           byte sequences are handled gracefully, but if you use ":utf8", the
2400           flag is set without validating the data, possibly resulting in this
2401           error message.
2402
2403           See also "Handling Malformed Data" in Encode.
2404
2405       Malformed UTF-8 returned by \N
2406           (F) The charnames handler returned malformed UTF-8.
2407
2408       Malformed UTF-8 string in '%c' format in unpack
2409           (F) You tried to unpack something that didn't comply with UTF-8
2410           encoding rules and perl was unable to guess how to make more
2411           progress.
2412
2413       Malformed UTF-8 string in pack
2414           (F) You tried to pack something that didn't comply with UTF-8
2415           encoding rules and perl was unable to guess how to make more
2416           progress.
2417
2418       Malformed UTF-8 string in unpack
2419           (F) You tried to unpack something that didn't comply with UTF-8
2420           encoding rules and perl was unable to guess how to make more
2421           progress.
2422
2423       Malformed UTF-16 surrogate
2424           (F) Perl thought it was reading UTF-16 encoded character data but
2425           while doing it Perl met a malformed Unicode surrogate.
2426
2427       %s matches null string many times in regex; marked by <-- HERE in m/%s/
2428           (W regexp) The pattern you've specified would be an infinite loop
2429           if the regular expression engine didn't specifically check for
2430           that.  The <-- HERE shows in the regular expression about where the
2431           problem was discovered.  See perlre.
2432
2433       Maximal count of pending signals (%u) exceeded
2434           (F) Perl aborted due to too high a number of signals pending.  This
2435           usually indicates that your operating system tried to deliver
2436           signals too fast (with a very high priority), starving the perl
2437           process from resources it would need to reach a point where it can
2438           process signals safely.  (See "Deferred Signals (Safe Signals)" in
2439           perlipc.)
2440
2441       "%s" may clash with future reserved word
2442           (W) This warning may be due to running a perl5 script through a
2443           perl4 interpreter, especially if the word that is being warned
2444           about is "use" or "my".
2445
2446       '%' may not be used in pack
2447           (F) You can't pack a string by supplying a checksum, because the
2448           checksumming process loses information, and you can't go the other
2449           way.  See "unpack" in perlfunc.
2450
2451       Method for operation %s not found in package %s during blessing
2452           (F) An attempt was made to specify an entry in an overloading table
2453           that doesn't resolve to a valid subroutine.  See overload.
2454
2455       Method %s not permitted
2456           See Server error.
2457
2458       Might be a runaway multi-line %s string starting on line %d
2459           (S) An advisory indicating that the previous error may have been
2460           caused by a missing delimiter on a string or pattern, because it
2461           eventually ended earlier on the current line.
2462
2463       Misplaced _ in number
2464           (W syntax) An underscore (underbar) in a numeric constant did not
2465           separate two digits.
2466
2467       Missing argument in %s
2468           (W uninitialized) A printf-type format required more arguments than
2469           were supplied.
2470
2471       Missing argument to -%c
2472           (F) The argument to the indicated command line switch must follow
2473           immediately after the switch, without intervening spaces.
2474
2475       Missing braces on \N{}
2476           (F) Wrong syntax of character name literal "\N{charname}" within
2477           double-quotish context.  This can also happen when there is a space
2478           (or comment) between the "\N" and the "{" in a regex with the "/x"
2479           modifier.  This modifier does not change the requirement that the
2480           brace immediately follow the "\N".
2481
2482       Missing braces on \o{}
2483           (F) A "\o" must be followed immediately by a "{" in double-quotish
2484           context.
2485
2486       Missing comma after first argument to %s function
2487           (F) While certain functions allow you to specify a filehandle or an
2488           "indirect object" before the argument list, this ain't one of them.
2489
2490       Missing command in piped open
2491           (W pipe) You used the "open(FH, "| command")" or "open(FH, "command
2492           |")" construction, but the command was missing or blank.
2493
2494       Missing control char name in \c
2495           (F) A double-quoted string ended with "\c", without the required
2496           control character name.
2497
2498       Missing name in "my sub"
2499           (F) The reserved syntax for lexically scoped subroutines requires
2500           that they have a name with which they can be found.
2501
2502       Missing $ on loop variable
2503           (F) Apparently you've been programming in csh too much.  Variables
2504           are always mentioned with the $ in Perl, unlike in the shells,
2505           where it can vary from one line to the next.
2506
2507       (Missing operator before %s?)
2508           (S syntax) This is an educated guess made in conjunction with the
2509           message "%s found where operator expected".  Often the missing
2510           operator is a comma.
2511
2512       Missing right brace on %s
2513           (F) Missing right brace in "\x{...}", "\p{...}", "\P{...}", or
2514           "\N{...}".
2515
2516       Missing right brace on \N{} or unescaped left brace after \N
2517           (F) "\N" has two meanings.
2518
2519           The traditional one has it followed by a name enclosed in braces,
2520           meaning the character (or sequence of characters) given by that
2521           name.  Thus "\N{ASTERISK}" is another way of writing "*", valid in
2522           both double-quoted strings and regular expression patterns.  In
2523           patterns, it doesn't have the meaning an unescaped "*" does.
2524
2525           Starting in Perl 5.12.0, "\N" also can have an additional meaning
2526           (only) in patterns, namely to match a non-newline character.  (This
2527           is short for "[^\n]", and like "." but is not affected by the "/s"
2528           regex modifier.)
2529
2530           This can lead to some ambiguities.  When "\N" is not followed
2531           immediately by a left brace, Perl assumes the "[^\n]" meaning.
2532           Also, if the braces form a valid quantifier such as "\N{3}" or
2533           "\N{5,}", Perl assumes that this means to match the given quantity
2534           of non-newlines (in these examples, 3; and 5 or more,
2535           respectively).  In all other case, where there is a "\N{" and a
2536           matching "}", Perl assumes that a character name is desired.
2537
2538           However, if there is no matching "}", Perl doesn't know if it was
2539           mistakenly omitted, or if "[^\n]{" was desired, and raises this
2540           error.  If you meant the former, add the right brace; if you meant
2541           the latter, escape the brace with a backslash, like so: "\N\{"
2542
2543       Missing right curly or square bracket
2544           (F) The lexer counted more opening curly or square brackets than
2545           closing ones.  As a general rule, you'll find it's missing near the
2546           place you were last editing.
2547
2548       (Missing semicolon on previous line?)
2549           (S syntax) This is an educated guess made in conjunction with the
2550           message "%s found where operator expected".  Don't automatically
2551           put a semicolon on the previous line just because you saw this
2552           message.
2553
2554       Modification of a read-only value attempted
2555           (F) You tried, directly or indirectly, to change the value of a
2556           constant.  You didn't, of course, try "2 = 1", because the compiler
2557           catches that.  But an easy way to do the same thing is:
2558
2559               sub mod { $_[0] = 1 }
2560               mod(2);
2561
2562           Another way is to assign to a substr() that's off the end of the
2563           string.
2564
2565           Yet another way is to assign to a "foreach" loop VAR when VAR is
2566           aliased to a constant in the look LIST:
2567
2568               $x = 1;
2569               foreach my $n ($x, 2) {
2570                   $n *= 2; # modifies the $x, but fails on attempt to
2571               }            # modify the 2
2572
2573       Modification of non-creatable array value attempted, %s
2574           (F) You tried to make an array value spring into existence, and the
2575           subscript was probably negative, even counting from end of the
2576           array backwards.
2577
2578       Modification of non-creatable hash value attempted, %s
2579           (P) You tried to make a hash value spring into existence, and it
2580           couldn't be created for some peculiar reason.
2581
2582       Module name must be constant
2583           (F) Only a bare module name is allowed as the first argument to a
2584           "use".
2585
2586       Module name required with -%c option
2587           (F) The "-M" or "-m" options say that Perl should load some module,
2588           but you omitted the name of the module.  Consult perlrun for full
2589           details about "-M" and "-m".
2590
2591       More than one argument to '%s' open
2592           (F) The "open" function has been asked to open multiple files.
2593           This can happen if you are trying to open a pipe to a command that
2594           takes a list of arguments, but have forgotten to specify a piped
2595           open mode.  See "open" in perlfunc for details.
2596
2597       msg%s not implemented
2598           (F) You don't have System V message IPC on your system.
2599
2600       Multidimensional syntax %s not supported
2601           (W syntax) Multidimensional arrays aren't written like $foo[1,2,3].
2602           They're written like $foo[1][2][3], as in C.
2603
2604       '/' must follow a numeric type in unpack
2605           (F) You had an unpack template that contained a '/', but this did
2606           not follow some unpack specification producing a numeric value.
2607           See "pack" in perlfunc.
2608
2609       "my sub" not yet implemented
2610           (F) Lexically scoped subroutines are not yet implemented.  Don't
2611           try that yet.
2612
2613       "my" variable %s can't be in a package
2614           (F) Lexically scoped variables aren't in a package, so it doesn't
2615           make sense to try to declare one with a package qualifier on the
2616           front.  Use local() if you want to localize a package variable.
2617
2618       Name "%s::%s" used only once: possible typo
2619           (W once) Typographical errors often show up as unique variable
2620           names.  If you had a good reason for having a unique name, then
2621           just mention it again somehow to suppress the message.  The "our"
2622           declaration is provided for this purpose.
2623
2624           NOTE: This warning detects symbols that have been used only once so
2625           $c, @c, %c, *c, &c, sub c{}, c(), and c (the filehandle or format)
2626           are considered the same; if a program uses $c only once but also
2627           uses any of the others it will not trigger this warning.
2628
2629       \N in a character class must be a named character: \N{...}
2630           (F) The new (5.12) meaning of "\N" as "[^\n]" is not valid in a
2631           bracketed character class, for the same reason that "." in a
2632           character class loses its specialness: it matches almost
2633           everything, which is probably not what you want.
2634
2635       \N{NAME} must be resolved by the lexer
2636           (F) When compiling a regex pattern, an unresolved named character
2637           or sequence was encountered.  This can happen in any of several
2638           ways that bypass the lexer, such as using single-quotish context,
2639           or an extra backslash in double-quotish:
2640
2641               $re = '\N{SPACE}';  # Wrong!
2642               $re = "\\N{SPACE}"; # Wrong!
2643               /$re/;
2644
2645           Instead, use double-quotes with a single backslash:
2646
2647               $re = "\N{SPACE}";  # ok
2648               /$re/;
2649
2650           The lexer can be bypassed as well by creating the pattern from
2651           smaller components:
2652
2653               $re = '\N';
2654               /${re}{SPACE}/;     # Wrong!
2655
2656           It's not a good idea to split a construct in the middle like this,
2657           and it doesn't work here.  Instead use the solution above.
2658
2659           Finally, the message also can happen under the "/x" regex modifier
2660           when the "\N" is separated by spaces from the "{", in which case,
2661           remove the spaces.
2662
2663               /\N {SPACE}/x;      # Wrong!
2664               /\N{SPACE}/x;       # ok
2665
2666       Negative '/' count in unpack
2667           (F) The length count obtained from a length/code unpack operation
2668           was negative.  See "pack" in perlfunc.
2669
2670       Negative length
2671           (F) You tried to do a read/write/send/recv operation with a buffer
2672           length that is less than 0.  This is difficult to imagine.
2673
2674       Negative offset to vec in lvalue context
2675           (F) When "vec" is called in an lvalue context, the second argument
2676           must be greater than or equal to zero.
2677
2678       Nested quantifiers in regex; marked by <-- HERE in m/%s/
2679           (F) You can't quantify a quantifier without intervening
2680           parentheses.  So things like ** or +* or ?* are illegal.  The <--
2681           HERE shows in the regular expression about where the problem was
2682           discovered.
2683
2684           Note that the minimal matching quantifiers, "*?", "+?", and "??"
2685           appear to be nested quantifiers, but aren't.  See perlre.
2686
2687       %s never introduced
2688           (S internal) The symbol in question was declared but somehow went
2689           out of scope before it could possibly have been used.
2690
2691       next::method/next::can/maybe::next::method cannot find enclosing method
2692           (F) "next::method" needs to be called within the context of a real
2693           method in a real package, and it could not find such a context.
2694           See mro.
2695
2696       No %s allowed while running setuid
2697           (F) Certain operations are deemed to be too insecure for a setuid
2698           or setgid script to even be allowed to attempt.  Generally speaking
2699           there will be another way to do what you want that is, if not
2700           secure, at least securable.  See perlsec.
2701
2702       No code specified for -%c
2703           (F) Perl's -e and -E command-line options require an argument.  If
2704           you want to run an empty program, pass the empty string as a
2705           separate argument or run a program consisting of a single 0 or 1:
2706
2707               perl -e ""
2708               perl -e0
2709               perl -e1
2710
2711       No comma allowed after %s
2712           (F) A list operator that has a filehandle or "indirect object" is
2713           not allowed to have a comma between that and the following
2714           arguments.  Otherwise it'd be just another one of the arguments.
2715
2716           One possible cause for this is that you expected to have imported a
2717           constant to your name space with use or import while no such
2718           importing took place, it may for example be that your operating
2719           system does not support that particular constant.  Hopefully you
2720           did use an explicit import list for the constants you expect to
2721           see; please see "use" in perlfunc and "import" in perlfunc.  While
2722           an explicit import list would probably have caught this error
2723           earlier it naturally does not remedy the fact that your operating
2724           system still does not support that constant.  Maybe you have a typo
2725           in the constants of the symbol import list of use or import or in
2726           the constant name at the line where this error was triggered?
2727
2728       No command into which to pipe on command line
2729           (F) An error peculiar to VMS.  Perl handles its own command line
2730           redirection, and found a '|' at the end of the command line, so it
2731           doesn't know where you want to pipe the output from this command.
2732
2733       No DB::DB routine defined
2734           (F) The currently executing code was compiled with the -d switch,
2735           but for some reason the current debugger (e.g. perl5db.pl or a
2736           "Devel::" module) didn't define a routine to be called at the
2737           beginning of each statement.
2738
2739       No dbm on this machine
2740           (P) This is counted as an internal error, because every machine
2741           should supply dbm nowadays, because Perl comes with SDBM.  See
2742           SDBM_File.
2743
2744       No DB::sub routine defined
2745           (F) The currently executing code was compiled with the -d switch,
2746           but for some reason the current debugger (e.g. perl5db.pl or a
2747           "Devel::" module) didn't define a "DB::sub" routine to be called at
2748           the beginning of each ordinary subroutine call.
2749
2750       No directory specified for -I
2751           (F) The -I command-line switch requires a directory name as part of
2752           the same argument.  Use -Ilib, for instance.  -I lib won't work.
2753
2754       No error file after 2> or 2>> on command line
2755           (F) An error peculiar to VMS.  Perl handles its own command line
2756           redirection, and found a '2>' or a '2>>' on the command line, but
2757           can't find the name of the file to which to write data destined for
2758           stderr.
2759
2760       No group ending character '%c' found in template
2761           (F) A pack or unpack template has an opening '(' or '[' without its
2762           matching counterpart.  See "pack" in perlfunc.
2763
2764       No input file after < on command line
2765           (F) An error peculiar to VMS.  Perl handles its own command line
2766           redirection, and found a '<' on the command line, but can't find
2767           the name of the file from which to read data for stdin.
2768
2769       No next::method '%s' found for %s
2770           (F) "next::method" found no further instances of this method name
2771           in the remaining packages of the MRO of this class.  If you don't
2772           want it throwing an exception, use "maybe::next::method" or
2773           "next::can".  See mro.
2774
2775       "no" not allowed in expression
2776           (F) The "no" keyword is recognized and executed at compile time,
2777           and returns no useful value.  See perlmod.
2778
2779       No output file after > on command line
2780           (F) An error peculiar to VMS.  Perl handles its own command line
2781           redirection, and found a lone '>' at the end of the command line,
2782           so it doesn't know where you wanted to redirect stdout.
2783
2784       No output file after > or >> on command line
2785           (F) An error peculiar to VMS.  Perl handles its own command line
2786           redirection, and found a '>' or a '>>' on the command line, but
2787           can't find the name of the file to which to write data destined for
2788           stdout.
2789
2790       No package name allowed for variable %s in "our"
2791           (F) Fully qualified variable names are not allowed in "our"
2792           declarations, because that doesn't make much sense under existing
2793           semantics.  Such syntax is reserved for future extensions.
2794
2795       No Perl script found in input
2796           (F) You called "perl -x", but no line was found in the file
2797           beginning with #! and containing the word "perl".
2798
2799       No setregid available
2800           (F) Configure didn't find anything resembling the setregid() call
2801           for your system.
2802
2803       No setreuid available
2804           (F) Configure didn't find anything resembling the setreuid() call
2805           for your system.
2806
2807       No such class field "%s" in variable %s of type %s
2808           (F) You tried to access a key from a hash through the indicated
2809           typed variable but that key is not allowed by the package of the
2810           same type.  The indicated package has restricted the set of allowed
2811           keys using the fields pragma.
2812
2813       No such class %s
2814           (F) You provided a class qualifier in a "my", "our" or "state"
2815           declaration, but this class doesn't exist at this point in your
2816           program.
2817
2818       No such hook: %s
2819           (F) You specified a signal hook that was not recognized by Perl.
2820           Currently, Perl accepts "__DIE__" and "__WARN__" as valid signal
2821           hooks.
2822
2823       No such pipe open
2824           (P) An error peculiar to VMS.  The internal routine my_pclose()
2825           tried to close a pipe which hadn't been opened.  This should have
2826           been caught earlier as an attempt to close an unopened filehandle.
2827
2828       No such signal: SIG%s
2829           (W signal) You specified a signal name as a subscript to %SIG that
2830           was not recognized.  Say "kill -l" in your shell to see the valid
2831           signal names on your system.
2832
2833       Not a CODE reference
2834           (F) Perl was trying to evaluate a reference to a code value (that
2835           is, a subroutine), but found a reference to something else instead.
2836           You can use the ref() function to find out what kind of ref it
2837           really was.  See also perlref.
2838
2839       Not a format reference
2840           (F) I'm not sure how you managed to generate a reference to an
2841           anonymous format, but this indicates you did, and that it didn't
2842           exist.
2843
2844       Not a GLOB reference
2845           (F) Perl was trying to evaluate a reference to a "typeglob" (that
2846           is, a symbol table entry that looks like *foo), but found a
2847           reference to something else instead.  You can use the ref()
2848           function to find out what kind of ref it really was.  See perlref.
2849
2850       Not a HASH reference
2851           (F) Perl was trying to evaluate a reference to a hash value, but
2852           found a reference to something else instead.  You can use the ref()
2853           function to find out what kind of ref it really was.  See perlref.
2854
2855       Not an ARRAY reference
2856           (F) Perl was trying to evaluate a reference to an array value, but
2857           found a reference to something else instead.  You can use the ref()
2858           function to find out what kind of ref it really was.  See perlref.
2859
2860       Not an unblessed ARRAY reference
2861           (F) You passed a reference to a blessed array to "push", "shift" or
2862           another array function.  These only accept unblessed array
2863           references or arrays beginning explicitly with "@".
2864
2865       Not a SCALAR reference
2866           (F) Perl was trying to evaluate a reference to a scalar value, but
2867           found a reference to something else instead.  You can use the ref()
2868           function to find out what kind of ref it really was.  See perlref.
2869
2870       Not a subroutine reference
2871           (F) Perl was trying to evaluate a reference to a code value (that
2872           is, a subroutine), but found a reference to something else instead.
2873           You can use the ref() function to find out what kind of ref it
2874           really was.  See also perlref.
2875
2876       Not a subroutine reference in overload table
2877           (F) An attempt was made to specify an entry in an overloading table
2878           that doesn't somehow point to a valid subroutine.  See overload.
2879
2880       Not enough arguments for %s
2881           (F) The function requires more arguments than you specified.
2882
2883       Not enough format arguments
2884           (W syntax) A format specified more picture fields than the next
2885           line supplied.  See perlform.
2886
2887       %s: not found
2888           (A) You've accidentally run your script through the Bourne shell
2889           instead of Perl.  Check the #! line, or manually feed your script
2890           into Perl yourself.
2891
2892       no UTC offset information; assuming local time is UTC
2893           (S) A warning peculiar to VMS.  Perl was unable to find the local
2894           timezone offset, so it's assuming that local system time is
2895           equivalent to UTC.  If it's not, define the logical name
2896           SYS$TIMEZONE_DIFFERENTIAL to translate to the number of seconds
2897           which need to be added to UTC to get local time.
2898
2899       Non-octal character '%c'.  Resolved as "%s"
2900           (W digit) In parsing an octal numeric constant, a character was
2901           unexpectedly encountered that isn't octal.  The resulting value is
2902           as indicated.
2903
2904       Non-string passed as bitmask
2905           (W misc) A number has been passed as a bitmask argument to
2906           select().  Use the vec() function to construct the file descriptor
2907           bitmasks for select.  See "select" in perlfunc.
2908
2909       Null filename used
2910           (F) You can't require the null filename, especially because on many
2911           machines that means the current directory!  See "require" in
2912           perlfunc.
2913
2914       NULL OP IN RUN
2915           (S debugging) Some internal routine called run() with a null opcode
2916           pointer.
2917
2918       Null picture in formline
2919           (F) The first argument to formline must be a valid format picture
2920           specification.  It was found to be empty, which probably means you
2921           supplied it an uninitialized value.  See perlform.
2922
2923       Null realloc
2924           (P) An attempt was made to realloc NULL.
2925
2926       NULL regexp argument
2927           (P) The internal pattern matching routines blew it big time.
2928
2929       NULL regexp parameter
2930           (P) The internal pattern matching routines are out of their gourd.
2931
2932       Number too long
2933           (F) Perl limits the representation of decimal numbers in programs
2934           to about 250 characters.  You've exceeded that length.  Future
2935           versions of Perl are likely to eliminate this arbitrary limitation.
2936           In the meantime, try using scientific notation (e.g. "1e6" instead
2937           of "1_000_000").
2938
2939       Number with no digits
2940           (F) Perl was looking for a number but found nothing that looked
2941           like a number.  This happens, for example with "\o{}", with no
2942           number between the braces.
2943
2944       Octal number > 037777777777 non-portable
2945           (W portable) The octal number you specified is larger than 2**32-1
2946           (4294967295) and therefore non-portable between systems.  See
2947           perlport for more on portability concerns.
2948
2949       Odd number of arguments for overload::constant
2950           (W overload) The call to overload::constant contained an odd number
2951           of arguments.  The arguments should come in pairs.
2952
2953       Odd number of elements in anonymous hash
2954           (W misc) You specified an odd number of elements to initialize a
2955           hash, which is odd, because hashes come in key/value pairs.
2956
2957       Odd number of elements in hash assignment
2958           (W misc) You specified an odd number of elements to initialize a
2959           hash, which is odd, because hashes come in key/value pairs.
2960
2961       Offset outside string
2962           (F)(W layer) You tried to do a read/write/send/recv/seek operation
2963           with an offset pointing outside the buffer.  This is difficult to
2964           imagine.  The sole exceptions to this are that zero padding will
2965           take place when going past the end of the string when either
2966           "sysread()"ing a file, or when seeking past the end of a scalar
2967           opened for I/O (in anticipation of future reads and to imitate the
2968           behaviour with real files).
2969
2970       %s() on unopened %s
2971           (W unopened) An I/O operation was attempted on a filehandle that
2972           was never initialized.  You need to do an open(), a sysopen(), or a
2973           socket() call, or call a constructor from the FileHandle package.
2974
2975       -%s on unopened filehandle %s
2976           (W unopened) You tried to invoke a file test operator on a
2977           filehandle that isn't open.  Check your control flow.  See also
2978           "-X" in perlfunc.
2979
2980       oops: oopsAV
2981           (S internal) An internal warning that the grammar is screwed up.
2982
2983       oops: oopsHV
2984           (S internal) An internal warning that the grammar is screwed up.
2985
2986       Opening dirhandle %s also as a file
2987           (W io, deprecated) You used open() to associate a filehandle to a
2988           symbol (glob or scalar) that already holds a dirhandle.  Although
2989           legal, this idiom might render your code confusing and is
2990           deprecated.
2991
2992       Opening filehandle %s also as a directory
2993           (W io, deprecated) You used opendir() to associate a dirhandle to a
2994           symbol (glob or scalar) that already holds a filehandle.  Although
2995           legal, this idiom might render your code confusing and is
2996           deprecated.
2997
2998       Operation "%s": no method found, %s
2999           (F) An attempt was made to perform an overloaded operation for
3000           which no handler was defined.  While some handlers can be
3001           autogenerated in terms of other handlers, there is no default
3002           handler for any operation, unless the "fallback" overloading key is
3003           specified to be true.  See overload.
3004
3005       Operation "%s" returns its argument for non-Unicode code point 0x%X
3006           (W utf8, non_unicode) You performed an operation requiring Unicode
3007           semantics on a code point that is not in Unicode, so what it should
3008           do is not defined.  Perl has chosen to have it do nothing, and warn
3009           you.
3010
3011           If the operation shown is "ToFold", it means that case-insensitive
3012           matching in a regular expression was done on the code point.
3013
3014           If you know what you are doing you can turn off this warning by "no
3015           warnings 'non_unicode';".
3016
3017       Operation "%s" returns its argument for UTF-16 surrogate U+%X
3018           (W utf8, surrogate) You performed an operation requiring Unicode
3019           semantics on a Unicode surrogate.  Unicode frowns upon the use of
3020           surrogates for anything but storing strings in UTF-16, but
3021           semantics are (reluctantly) defined for the surrogates, and they
3022           are to do nothing for this operation.  Because the use of
3023           surrogates can be dangerous, Perl warns.
3024
3025           If the operation shown is "ToFold", it means that case-insensitive
3026           matching in a regular expression was done on the code point.
3027
3028           If you know what you are doing you can turn off this warning by "no
3029           warnings 'surrogate';".
3030
3031       Operator or semicolon missing before %s
3032           (S ambiguous) You used a variable or subroutine call where the
3033           parser was expecting an operator.  The parser has assumed you
3034           really meant to use an operator, but this is highly likely to be
3035           incorrect.  For example, if you say "*foo *foo" it will be
3036           interpreted as if you said "*foo * 'foo'".
3037
3038       "our" variable %s redeclared
3039           (W misc) You seem to have already declared the same global once
3040           before in the current lexical scope.
3041
3042       Out of memory!
3043           (X) The malloc() function returned 0, indicating there was
3044           insufficient remaining memory (or virtual memory) to satisfy the
3045           request.  Perl has no option but to exit immediately.
3046
3047           At least in Unix you may be able to get past this by increasing
3048           your process datasize limits: in csh/tcsh use "limit" and "limit
3049           datasize n" (where "n" is the number of kilobytes) to check the
3050           current limits and change them, and in ksh/bash/zsh use "ulimit -a"
3051           and "ulimit -d n", respectively.
3052
3053       Out of memory during %s extend
3054           (X) An attempt was made to extend an array, a list, or a string
3055           beyond the largest possible memory allocation.
3056
3057       Out of memory during "large" request for %s
3058           (F) The malloc() function returned 0, indicating there was
3059           insufficient remaining memory (or virtual memory) to satisfy the
3060           request.  However, the request was judged large enough (compile-
3061           time default is 64K), so a possibility to shut down by trapping
3062           this error is granted.
3063
3064       Out of memory during request for %s
3065           (X)(F) The malloc() function returned 0, indicating there was
3066           insufficient remaining memory (or virtual memory) to satisfy the
3067           request.
3068
3069           The request was judged to be small, so the possibility to trap it
3070           depends on the way perl was compiled.  By default it is not
3071           trappable.  However, if compiled for this, Perl may use the
3072           contents of $^M as an emergency pool after die()ing with this
3073           message.  In this case the error is trappable once, and the error
3074           message will include the line and file where the failed request
3075           happened.
3076
3077       Out of memory during ridiculously large request
3078           (F) You can't allocate more than 2^31+"small amount" bytes.  This
3079           error is most likely to be caused by a typo in the Perl program.
3080           e.g., $arr[time] instead of $arr[$time].
3081
3082       Out of memory for yacc stack
3083           (F) The yacc parser wanted to grow its stack so it could continue
3084           parsing, but realloc() wouldn't give it more memory, virtual or
3085           otherwise.
3086
3087       '.' outside of string in pack
3088           (F) The argument to a '.' in your template tried to move the
3089           working position to before the start of the packed string being
3090           built.
3091
3092       '@' outside of string in unpack
3093           (F) You had a template that specified an absolute position outside
3094           the string being unpacked.  See "pack" in perlfunc.
3095
3096       '@' outside of string with malformed UTF-8 in unpack
3097           (F) You had a template that specified an absolute position outside
3098           the string being unpacked.  The string being unpacked was also
3099           invalid UTF-8.  See "pack" in perlfunc.
3100
3101       overload arg '%s' is invalid
3102           (W overload) The overload pragma was passed an argument it did not
3103           recognize.  Did you mistype an operator?
3104
3105       Overloaded dereference did not return a reference
3106           (F) An object with an overloaded dereference operator was
3107           dereferenced, but the overloaded operation did not return a
3108           reference.  See overload.
3109
3110       Overloaded qr did not return a REGEXP
3111           (F) An object with a "qr" overload was used as part of a match, but
3112           the overloaded operation didn't return a compiled regexp.  See
3113           overload.
3114
3115       %s package attribute may clash with future reserved word: %s
3116           (W reserved) A lowercase attribute name was used that had a
3117           package-specific handler.  That name might have a meaning to Perl
3118           itself some day, even though it doesn't yet.  Perhaps you should
3119           use a mixed-case attribute name, instead.  See attributes.
3120
3121       pack/unpack repeat count overflow
3122           (F) You can't specify a repeat count so large that it overflows
3123           your signed integers.  See "pack" in perlfunc.
3124
3125       page overflow
3126           (W io) A single call to write() produced more lines than can fit on
3127           a page.  See perlform.
3128
3129       panic: %s
3130           (P) An internal error.
3131
3132       panic: attempt to call %s in %s
3133           (P) One of the file test operators entered a code branch that calls
3134           an ACL related-function, but that function is not available on this
3135           platform.  Earlier checks mean that it should not be possible to
3136           enter this branch on this platform.
3137
3138       panic: ck_grep, type=%u
3139           (P) Failed an internal consistency check trying to compile a grep.
3140
3141       panic: ck_split, type=%u
3142           (P) Failed an internal consistency check trying to compile a split.
3143
3144       panic: corrupt saved stack index %ld
3145           (P) The savestack was requested to restore more localized values
3146           than there are in the savestack.
3147
3148       panic: del_backref
3149           (P) Failed an internal consistency check while trying to reset a
3150           weak reference.
3151
3152       panic: die %s
3153           (P) We popped the context stack to an eval context, and then
3154           discovered it wasn't an eval context.
3155
3156       panic: do_subst
3157           (P) The internal pp_subst() routine was called with invalid
3158           operational data.
3159
3160       panic: do_trans_%s
3161           (P) The internal do_trans routines were called with invalid
3162           operational data.
3163
3164       panic: fold_constants JMPENV_PUSH returned %d
3165           (P) While attempting folding constants an exception other than an
3166           "eval" failure was caught.
3167
3168       panic: frexp
3169           (P) The library function frexp() failed, making printf("%f")
3170           impossible.
3171
3172       panic: goto, type=%u, ix=%ld
3173           (P) We popped the context stack to a context with the specified
3174           label, and then discovered it wasn't a context we know how to do a
3175           goto in.
3176
3177       panic: gp_free failed to free glob pointer
3178           (P) The internal routine used to clear a typeglob's entries tried
3179           repeatedly, but each time something re-created entries in the glob.
3180           Most likely the glob contains an object with a reference back to
3181           the glob and a destructor that adds a new object to the glob.
3182
3183       panic: INTERPCASEMOD, %s
3184           (P) The lexer got into a bad state at a case modifier.
3185
3186       panic: INTERPCONCAT, %s
3187           (P) The lexer got into a bad state parsing a string with brackets.
3188
3189       panic: kid popen errno read
3190           (F) forked child returned an incomprehensible message about its
3191           errno.
3192
3193       panic: last, type=%u
3194           (P) We popped the context stack to a block context, and then
3195           discovered it wasn't a block context.
3196
3197       panic: leave_scope clearsv
3198           (P) A writable lexical variable became read-only somehow within the
3199           scope.
3200
3201       panic: leave_scope inconsistency %u
3202           (P) The savestack probably got out of sync.  At least, there was an
3203           invalid enum on the top of it.
3204
3205       panic: magic_killbackrefs
3206           (P) Failed an internal consistency check while trying to reset all
3207           weak references to an object.
3208
3209       panic: malloc, %s
3210           (P) Something requested a negative number of bytes of malloc.
3211
3212       panic: memory wrap
3213           (P) Something tried to allocate more memory than possible.
3214
3215       panic: pad_alloc, %p!=%p
3216           (P) The compiler got confused about which scratch pad it was
3217           allocating and freeing temporaries and lexicals from.
3218
3219       panic: pad_free curpad, %p!=%p
3220           (P) The compiler got confused about which scratch pad it was
3221           allocating and freeing temporaries and lexicals from.
3222
3223       panic: pad_free po
3224           (P) An invalid scratch pad offset was detected internally.
3225
3226       panic: pad_reset curpad, %p!=%p
3227           (P) The compiler got confused about which scratch pad it was
3228           allocating and freeing temporaries and lexicals from.
3229
3230       panic: pad_sv po
3231           (P) An invalid scratch pad offset was detected internally.
3232
3233       panic: pad_swipe curpad, %p!=%p
3234           (P) The compiler got confused about which scratch pad it was
3235           allocating and freeing temporaries and lexicals from.
3236
3237       panic: pad_swipe po
3238           (P) An invalid scratch pad offset was detected internally.
3239
3240       panic: pp_iter, type=%u
3241           (P) The foreach iterator got called in a non-loop context frame.
3242
3243       panic: pp_match%s
3244           (P) The internal pp_match() routine was called with invalid
3245           operational data.
3246
3247       panic: pp_split, pm=%p, s=%p
3248           (P) Something terrible went wrong in setting up for the split.
3249
3250       panic: realloc, %s
3251           (P) Something requested a negative number of bytes of realloc.
3252
3253       panic: reference miscount on nsv in sv_replace() (%d != 1)
3254           (P) The internal sv_replace() function was handed a new SV with a
3255           reference count other than 1.
3256
3257       panic: restartop in %s
3258           (P) Some internal routine requested a goto (or something like it),
3259           and didn't supply the destination.
3260
3261       panic: return, type=%u
3262           (P) We popped the context stack to a subroutine or eval context,
3263           and then discovered it wasn't a subroutine or eval context.
3264
3265       panic: scan_num, %s
3266           (P) scan_num() got called on something that wasn't a number.
3267
3268       panic: sv_chop %s
3269           (P) The sv_chop() routine was passed a position that is not within
3270           the scalar's string buffer.
3271
3272       panic: sv_insert, midend=%p, bigend=%p
3273           (P) The sv_insert() routine was told to remove more string than
3274           there was string.
3275
3276       panic: strxfrm() gets absurd - a => %u, ab => %u
3277           (P) The interpreter's sanity check of the C function strxfrm()
3278           failed.  In your current locale the returned transformation of the
3279           string "ab" is shorter than that of the string "a", which makes no
3280           sense.
3281
3282       panic: top_env
3283           (P) The compiler attempted to do a goto, or something weird like
3284           that.
3285
3286       panic: unimplemented op %s (#%d) called
3287           (P) The compiler is screwed up and attempted to use an op that
3288           isn't permitted at run time.
3289
3290       panic: utf16_to_utf8: odd bytelen
3291           (P) Something tried to call utf16_to_utf8 with an odd (as opposed
3292           to even) byte length.
3293
3294       panic: utf16_to_utf8_reversed: odd bytelen
3295           (P) Something tried to call utf16_to_utf8_reversed with an odd (as
3296           opposed to even) byte length.
3297
3298       panic: yylex, %s
3299           (P) The lexer got into a bad state while processing a case
3300           modifier.
3301
3302       Parsing code internal error (%s)
3303           (F) Parsing code supplied by an extension violated the parser's API
3304           in a detectable way.
3305
3306       Pattern subroutine nesting without pos change exceeded limit in regex;
3307       marked by <-- HERE in m/%s/
3308           (F) You used a pattern that uses too many nested subpattern calls
3309           without consuming any text.  Restructure the pattern so text is
3310           consumed before the nesting limit is exceeded.
3311
3312           The <-- HERE shows in the regular expression about where the
3313           problem was discovered.
3314
3315       Parentheses missing around "%s" list
3316           (W parenthesis) You said something like
3317
3318               my $foo, $bar = @_;
3319
3320           when you meant
3321
3322               my ($foo, $bar) = @_;
3323
3324           Remember that "my", "our", "local" and "state" bind tighter than
3325           comma.
3326
3327       "-p" destination: %s
3328           (F) An error occurred during the implicit output invoked by the
3329           "-p" command-line switch.  (This output goes to STDOUT unless
3330           you've redirected it with select().)
3331
3332       (perhaps you forgot to load "%s"?)
3333           (F) This is an educated guess made in conjunction with the message
3334           "Can't locate object method \"%s\" via package \"%s\"".  It often
3335           means that a method requires a package that has not been loaded.
3336
3337       Perl folding rules are not up-to-date for 0x%x; please use the perlbug
3338       utility to report
3339           (W regex, deprecated) You used a regular expression with case-
3340           insensitive matching, and there is a bug in Perl in which the
3341           built-in regular expression folding rules are not accurate.  This
3342           may lead to incorrect results.  Please report this as a bug using
3343           the "perlbug" utility.  (This message is marked deprecated, so that
3344           it by default will be turned-on.)
3345
3346       Perl_my_%s() not available
3347           (F) Your platform has very uncommon byte-order and integer size, so
3348           it was not possible to set up some or all fixed-width byte-order
3349           conversion functions.  This is only a problem when you're using the
3350           '<' or '>' modifiers in (un)pack templates.  See "pack" in
3351           perlfunc.
3352
3353       Perl %s required (did you mean %s?)--this is only %s, stopped
3354           (F) The code you are trying to run has asked for a newer version of
3355           Perl than you are running.  Perhaps "use 5.10" was written instead
3356           of "use 5.010" or "use v5.10".  Without the leading "v", the number
3357           is interpreted as a decimal, with every three digits after the
3358           decimal point representing a part of the version number.  So 5.10
3359           is equivalent to v5.100.
3360
3361       Perl %s required--this is only version %s, stopped
3362           (F) The module in question uses features of a version of Perl more
3363           recent than the currently running version.  How long has it been
3364           since you upgraded, anyway?  See "require" in perlfunc.
3365
3366       PERL_SH_DIR too long
3367           (F) An error peculiar to OS/2.  PERL_SH_DIR is the directory to
3368           find the "sh"-shell in.  See "PERL_SH_DIR" in perlos2.
3369
3370       PERL_SIGNALS illegal: "%s"
3371           See "PERL_SIGNALS" in perlrun for legal values.
3372
3373       Perls since %s too modern--this is %s, stopped
3374           (F) The code you are trying to run claims it will not run on the
3375           version of Perl you are using because it is too new.  Maybe the
3376           code needs to be updated, or maybe it is simply wrong and the
3377           version check should just be removed.
3378
3379       perl: warning: Setting locale failed.
3380           (S) The whole warning message will look something like:
3381
3382                   perl: warning: Setting locale failed.
3383                   perl: warning: Please check that your locale settings:
3384                           LC_ALL = "En_US",
3385                           LANG = (unset)
3386                       are supported and installed on your system.
3387                   perl: warning: Falling back to the standard locale ("C").
3388
3389           Exactly what were the failed locale settings varies.  In the above
3390           the settings were that the LC_ALL was "En_US" and the LANG had no
3391           value.  This error means that Perl detected that you and/or your
3392           operating system supplier and/or system administrator have set up
3393           the so-called locale system but Perl could not use those settings.
3394           This was not dead serious, fortunately: there is a "default locale"
3395           called "C" that Perl can and will use, and the script will be run.
3396           Before you really fix the problem, however, you will get the same
3397           error message each time you run Perl.  How to really fix the
3398           problem can be found in perllocale section LOCALE PROBLEMS.
3399
3400       pid %x not a child
3401           (W exec) A warning peculiar to VMS.  Waitpid() was asked to wait
3402           for a process which isn't a subprocess of the current process.
3403           While this is fine from VMS' perspective, it's probably not what
3404           you intended.
3405
3406       'P' must have an explicit size in unpack
3407           (F) The unpack format P must have an explicit size, not "*".
3408
3409       POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/
3410           (F) The class in the character class [: :] syntax is unknown.  The
3411           <-- HERE shows in the regular expression about where the problem
3412           was discovered.  Note that the POSIX character classes do not have
3413           the "is" prefix the corresponding C interfaces have: in other
3414           words, it's "[[:print:]]", not "isprint".  See perlre.
3415
3416       POSIX getpgrp can't take an argument
3417           (F) Your system has POSIX getpgrp(), which takes no argument,
3418           unlike the BSD version, which takes a pid.
3419
3420       POSIX syntax [%s] belongs inside character classes in regex; marked by
3421       <-- HERE in m/%s/
3422           (W regexp) The character class constructs [: :], [= =], and [. .]
3423           go inside character classes, the [] are part of the construct, for
3424           example: /[012[:alpha:]345]/.  Note that [= =] and [. .] are not
3425           currently implemented; they are simply placeholders for future
3426           extensions and will cause fatal errors.  The <-- HERE shows in the
3427           regular expression about where the problem was discovered.  See
3428           perlre.
3429
3430       POSIX syntax [. .] is reserved for future extensions in regex; marked
3431       by <-- HERE in m/%s/
3432           (F regexp) Within regular expression character classes ([]) the
3433           syntax beginning with "[." and ending with ".]" is reserved for
3434           future extensions.  If you need to represent those character
3435           sequences inside a regular expression character class, just quote
3436           the square brackets with the backslash: "\[." and ".\]".  The <--
3437           HERE shows in the regular expression about where the problem was
3438           discovered.  See perlre.
3439
3440       POSIX syntax [= =] is reserved for future extensions in regex; marked
3441       by <-- HERE in m/%s/
3442           (F) Within regular expression character classes ([]) the syntax
3443           beginning with "[=" and ending with "=]" is reserved for future
3444           extensions.  If you need to represent those character sequences
3445           inside a regular expression character class, just quote the square
3446           brackets with the backslash: "\[=" and "=\]".  The <-- HERE shows
3447           in the regular expression about where the problem was discovered.
3448           See perlre.
3449
3450       Possible attempt to put comments in qw() list
3451           (W qw) qw() lists contain items separated by whitespace; as with
3452           literal strings, comment characters are not ignored, but are
3453           instead treated as literal data.  (You may have used different
3454           delimiters than the parentheses shown here; braces are also
3455           frequently used.)
3456
3457           You probably wrote something like this:
3458
3459               @list = qw(
3460                   a # a comment
3461                   b # another comment
3462               );
3463
3464           when you should have written this:
3465
3466               @list = qw(
3467                   a
3468                   b
3469               );
3470
3471           If you really want comments, build your list the old-fashioned way,
3472           with quotes and commas:
3473
3474               @list = (
3475                   'a',    # a comment
3476                   'b',    # another comment
3477               );
3478
3479       Possible attempt to separate words with commas
3480           (W qw) qw() lists contain items separated by whitespace; therefore
3481           commas aren't needed to separate the items.  (You may have used
3482           different delimiters than the parentheses shown here; braces are
3483           also frequently used.)
3484
3485           You probably wrote something like this:
3486
3487               qw! a, b, c !;
3488
3489           which puts literal commas into some of the list items.  Write it
3490           without commas if you don't want them to appear in your data:
3491
3492               qw! a b c !;
3493
3494       Possible memory corruption: %s overflowed 3rd argument
3495           (F) An ioctl() or fcntl() returned more than Perl was bargaining
3496           for.  Perl guesses a reasonable buffer size, but puts a sentinel
3497           byte at the end of the buffer just in case.  This sentinel byte got
3498           clobbered, and Perl assumes that memory is now corrupted.  See
3499           "ioctl" in perlfunc.
3500
3501       Possible precedence problem on bitwise %c operator
3502           (W precedence) Your program uses a bitwise logical operator in
3503           conjunction with a numeric comparison operator, like this :
3504
3505               if ($x & $y == 0) { ... }
3506
3507           This expression is actually equivalent to "$x & ($y == 0)", due to
3508           the higher precedence of "==".  This is probably not what you want.
3509           (If you really meant to write this, disable the warning, or,
3510           better, put the parentheses explicitly and write "$x & ($y == 0)").
3511
3512       Possible unintended interpolation of $\ in regex
3513           (W ambiguous) You said something like "m/$\/" in a regex.  The
3514           regex "m/foo$\s+bar/m" translates to: match the word 'foo', the
3515           output record separator (see "$\" in perlvar) and the letter 's'
3516           (one time or more) followed by the word 'bar'.
3517
3518           If this is what you intended then you can silence the warning by
3519           using "m/${\}/" (for example: "m/foo${\}s+bar/").
3520
3521           If instead you intended to match the word 'foo' at the end of the
3522           line followed by whitespace and the word 'bar' on the next line
3523           then you can use "m/$(?)\/" (for example: "m/foo$(?)\s+bar/").
3524
3525       Possible unintended interpolation of %s in string
3526           (W ambiguous) You said something like '@foo' in a double-quoted
3527           string but there was no array @foo in scope at the time.  If you
3528           wanted a literal @foo, then write it as \@foo; otherwise find out
3529           what happened to the array you apparently lost track of.
3530
3531       Precedence problem: open %s should be open(%s)
3532           (S precedence) The old irregular construct
3533
3534               open FOO || die;
3535
3536           is now misinterpreted as
3537
3538               open(FOO || die);
3539
3540           because of the strict regularization of Perl 5's grammar into unary
3541           and list operators.  (The old open was a little of both.)  You must
3542           put parentheses around the filehandle, or use the new "or" operator
3543           instead of "||".
3544
3545       Premature end of script headers
3546           See Server error.
3547
3548       printf() on closed filehandle %s
3549           (W closed) The filehandle you're writing to got itself closed
3550           sometime before now.  Check your control flow.
3551
3552       print() on closed filehandle %s
3553           (W closed) The filehandle you're printing on got itself closed
3554           sometime before now.  Check your control flow.
3555
3556       Process terminated by SIG%s
3557           (W) This is a standard message issued by OS/2 applications, while
3558           *nix applications die in silence.  It is considered a feature of
3559           the OS/2 port.  One can easily disable this by appropriate
3560           sighandlers, see "Signals" in perlipc.  See also "Process
3561           terminated by SIGTERM/SIGINT" in perlos2.
3562
3563       Prototype after '%c' for %s : %s
3564           (W illegalproto) A character follows % or @ in a prototype.  This
3565           is useless, since % and @ gobble the rest of the subroutine
3566           arguments.
3567
3568       Prototype mismatch: %s vs %s
3569           (S prototype) The subroutine being declared or defined had
3570           previously been declared or defined with a different function
3571           prototype.
3572
3573       Prototype not terminated
3574           (F) You've omitted the closing parenthesis in a function prototype
3575           definition.
3576
3577       \p{} uses Unicode rules, not locale rules
3578           (W) You compiled a regular expression that contained a Unicode
3579           property match ("\p" or "\P"), but the regular expression is also
3580           being told to use the run-time locale, not Unicode.  Instead, use a
3581           POSIX character class, which should know about the locale's rules.
3582           (See "POSIX Character Classes" in perlrecharclass.)
3583
3584           Even if the run-time locale is ISO 8859-1 (Latin1), which is a
3585           subset of Unicode, some properties will give results that are not
3586           valid for that subset.
3587
3588           Here are a couple of examples to help you see what's going on.  If
3589           the locale is ISO 8859-7, the character at code point 0xD7 is the
3590           "GREEK CAPITAL LETTER CHI".  But in Unicode that code point means
3591           the "MULTIPLICATION SIGN" instead, and "\p" always uses the Unicode
3592           meaning.  That means that "\p{Alpha}" won't match, but
3593           "[[:alpha:]]" should.  Only in the Latin1 locale are all the
3594           characters in the same positions as they are in Unicode.  But, even
3595           here, some properties give incorrect results.  An example is
3596           "\p{Changes_When_Uppercased}" which is true for "LATIN SMALL LETTER
3597           Y WITH DIAERESIS", but since the upper case of that character is
3598           not in Latin1, in that locale it doesn't change when upper cased.
3599
3600       Quantifier follows nothing in regex; marked by <-- HERE in m/%s/
3601           (F) You started a regular expression with a quantifier.  Backslash
3602           it if you meant it literally.  The <-- HERE shows in the regular
3603           expression about where the problem was discovered.  See perlre.
3604
3605       Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/
3606           (F) There is currently a limit to the size of the min and max
3607           values of the {min,max} construct.  The <-- HERE shows in the
3608           regular expression about where the problem was discovered.  See
3609           perlre.
3610
3611       Quantifier unexpected on zero-length expression; marked by <-- HERE in
3612       m/%s/
3613           (W regexp) You applied a regular expression quantifier in a place
3614           where it makes no sense, such as on a zero-width assertion.  Try
3615           putting the quantifier inside the assertion instead.  For example,
3616           the way to match "abc" provided that it is followed by three
3617           repetitions of "xyz" is "/abc(?=(?:xyz){3})/", not
3618           "/abc(?=xyz){3}/".
3619
3620           The <-- HERE shows in the regular expression about where the
3621           problem was discovered.
3622
3623       Range iterator outside integer range
3624           (F) One (or both) of the numeric arguments to the range operator
3625           ".."  are outside the range which can be represented by integers
3626           internally.  One possible workaround is to force Perl to use
3627           magical string increment by prepending "0" to your numbers.
3628
3629       readdir() attempted on invalid dirhandle %s
3630           (W io) The dirhandle you're reading from is either closed or not
3631           really a dirhandle.  Check your control flow.
3632
3633       readline() on closed filehandle %s
3634           (W closed) The filehandle you're reading from got itself closed
3635           sometime before now.  Check your control flow.
3636
3637       read() on closed filehandle %s
3638           (W closed) You tried to read from a closed filehandle.
3639
3640       read() on unopened filehandle %s
3641           (W unopened) You tried to read from a filehandle that was never
3642           opened.
3643
3644       Reallocation too large: %x
3645           (F) You can't allocate more than 64K on an MS-DOS machine.
3646
3647       realloc() of freed memory ignored
3648           (S malloc) An internal routine called realloc() on something that
3649           had already been freed.
3650
3651       Recompile perl with -DDEBUGGING to use -D switch
3652           (F debugging) You can't use the -D option unless the code to
3653           produce the desired output is compiled into Perl, which entails
3654           some overhead, which is why it's currently left out of your copy.
3655
3656       Recursive call to Perl_load_module in PerlIO_find_layer
3657           (P) It is currently not permitted to load modules when creating a
3658           filehandle inside an %INC hook.  This can happen with "open my $fh,
3659           '<', \$scalar", which implicitly loads PerlIO::scalar.  Try loading
3660           PerlIO::scalar explicitly first.
3661
3662       Recursive inheritance detected in package '%s'
3663           (F) While calculating the method resolution order (MRO) of a
3664           package, Perl believes it found an infinite loop in the @ISA
3665           hierarchy.  This is a crude check that bails out after 100 levels
3666           of @ISA depth.
3667
3668       refcnt_dec: fd %d%s
3669       refcnt: fd %d%s
3670       refcnt_inc: fd %d%s
3671           (P) Perl's I/O implementation failed an internal consistency check.
3672           If you see this message, something is very wrong.
3673
3674       Reference found where even-sized list expected
3675           (W misc) You gave a single reference where Perl was expecting a
3676           list with an even number of elements (for assignment to a hash).
3677           This usually means that you used the anon hash constructor when you
3678           meant to use parens.  In any case, a hash requires key/value pairs.
3679
3680               %hash = { one => 1, two => 2, };    # WRONG
3681               %hash = [ qw/ an anon array / ];    # WRONG
3682               %hash = ( one => 1, two => 2, );    # right
3683               %hash = qw( one 1 two 2 );                  # also fine
3684
3685       Reference is already weak
3686           (W misc) You have attempted to weaken a reference that is already
3687           weak.  Doing so has no effect.
3688
3689       Reference to invalid group 0
3690           (F) You used "\g0" or similar in a regular expression.  You may
3691           refer to capturing parentheses only with strictly positive integers
3692           (normal backreferences) or with strictly negative integers
3693           (relative backreferences).  Using 0 does not make sense.
3694
3695       Reference to nonexistent group in regex; marked by <-- HERE in m/%s/
3696           (F) You used something like "\7" in your regular expression, but
3697           there are not at least seven sets of capturing parentheses in the
3698           expression.  If you wanted to have the character with ordinal 7
3699           inserted into the regular expression, prepend zeroes to make it
3700           three digits long: "\007"
3701
3702           The <-- HERE shows in the regular expression about where the
3703           problem was discovered.
3704
3705       Reference to nonexistent named group in regex; marked by <-- HERE in
3706       m/%s/
3707           (F) You used something like "\k'NAME'" or "\k<NAME>" in your
3708           regular expression, but there is no corresponding named capturing
3709           parentheses such as "(?'NAME'...)" or "(?<NAME>...)".  Check if the
3710           name has been spelled correctly both in the backreference and the
3711           declaration.
3712
3713           The <-- HERE shows in the regular expression about where the
3714           problem was discovered.
3715
3716       Reference to nonexistent or unclosed group in regex; marked by <-- HERE
3717       in m/%s/
3718           (F) You used something like "\g{-7}" in your regular expression,
3719           but there are not at least seven sets of closed capturing
3720           parentheses in the expression before where the "\g{-7}" was
3721           located.
3722
3723           The <-- HERE shows in the regular expression about where the
3724           problem was discovered.
3725
3726       regexp memory corruption
3727           (P) The regular expression engine got confused by what the regular
3728           expression compiler gave it.
3729
3730       Regexp modifier "/%c" may appear a maximum of twice
3731       Regexp modifier "/%c" may not appear twice
3732           (F syntax, regexp) The regular expression pattern had too many
3733           occurrences of the specified modifier.  Remove the extraneous ones.
3734
3735       Regexp modifier "%c" may not appear after the "-"
3736           (F regexp) Turning off the given modifier has the side effect of
3737           turning on another one.  Perl currently doesn't allow this.  Reword
3738           the regular expression to use the modifier you want to turn on (and
3739           place it before the minus), instead of the one you want to turn
3740           off.
3741
3742       Regexp modifiers "/%c" and "/%c" are mutually exclusive
3743           (F syntax, regexp) The regular expression pattern had more than one
3744           of these mutually exclusive modifiers.  Retain only the modifier
3745           that is supposed to be there.
3746
3747       Regexp out of space
3748           (P) A "can't happen" error, because safemalloc() should have caught
3749           it earlier.
3750
3751       Repeated format line will never terminate (~~ and @# incompatible)
3752           (F) Your format contains the ~~ repeat-until-blank sequence and a
3753           numeric field that will never go blank so that the repetition never
3754           terminates.  You might use ^# instead.  See perlform.
3755
3756       Replacement list is longer than search list
3757           (W misc) You have used a replacement list that is longer than the
3758           search list.  So the additional elements in the replacement list
3759           are meaningless.
3760
3761       Reversed %s= operator
3762           (W syntax) You wrote your assignment operator backwards.  The =
3763           must always come last, to avoid ambiguity with subsequent unary
3764           operators.
3765
3766       rewinddir() attempted on invalid dirhandle %s
3767           (W io) The dirhandle you tried to do a rewinddir() on is either
3768           closed or not really a dirhandle.  Check your control flow.
3769
3770       Scalars leaked: %d
3771           (P) Something went wrong in Perl's internal bookkeeping of scalars:
3772           not all scalar variables were deallocated by the time Perl exited.
3773           What this usually indicates is a memory leak, which is of course
3774           bad, especially if the Perl program is intended to be long-running.
3775
3776       Scalar value @%s[%s] better written as $%s[%s]
3777           (W syntax) You've used an array slice (indicated by @) to select a
3778           single element of an array.  Generally it's better to ask for a
3779           scalar value (indicated by $).  The difference is that $foo[&bar]
3780           always behaves like a scalar, both when assigning to it and when
3781           evaluating its argument, while @foo[&bar] behaves like a list when
3782           you assign to it, and provides a list context to its subscript,
3783           which can do weird things if you're expecting only one subscript.
3784
3785           On the other hand, if you were actually hoping to treat the array
3786           element as a list, you need to look into how references work,
3787           because Perl will not magically convert between scalars and lists
3788           for you.  See perlref.
3789
3790       Scalar value @%s{%s} better written as $%s{%s}
3791           (W syntax) You've used a hash slice (indicated by @) to select a
3792           single element of a hash.  Generally it's better to ask for a
3793           scalar value (indicated by $).  The difference is that $foo{&bar}
3794           always behaves like a scalar, both when assigning to it and when
3795           evaluating its argument, while @foo{&bar} behaves like a list when
3796           you assign to it, and provides a list context to its subscript,
3797           which can do weird things if you're expecting only one subscript.
3798
3799           On the other hand, if you were actually hoping to treat the hash
3800           element as a list, you need to look into how references work,
3801           because Perl will not magically convert between scalars and lists
3802           for you.  See perlref.
3803
3804       Search pattern not terminated
3805           (F) The lexer couldn't find the final delimiter of a // or m{}
3806           construct.  Remember that bracketing delimiters count nesting
3807           level.  Missing the leading "$" from a variable $m may cause this
3808           error.
3809
3810           Note that since Perl 5.9.0 a // can also be the defined-or
3811           construct, not just the empty search pattern.  Therefore code
3812           written in Perl 5.9.0 or later that uses the // as the defined-or
3813           can be misparsed by pre-5.9.0 Perls as a non-terminated search
3814           pattern.
3815
3816       Search pattern not terminated or ternary operator parsed as search
3817       pattern
3818           (F) The lexer couldn't find the final delimiter of a "?PATTERN?"
3819           construct.
3820
3821           The question mark is also used as part of the ternary operator (as
3822           in "foo ? 0 : 1") leading to some ambiguous constructions being
3823           wrongly parsed.  One way to disambiguate the parsing is to put
3824           parentheses around the conditional expression, i.e. "(foo) ? 0 :
3825           1".
3826
3827       seekdir() attempted on invalid dirhandle %s
3828           (W io) The dirhandle you are doing a seekdir() on is either closed
3829           or not really a dirhandle.  Check your control flow.
3830
3831       %sseek() on unopened filehandle
3832           (W unopened) You tried to use the seek() or sysseek() function on a
3833           filehandle that was either never opened or has since been closed.
3834
3835       select not implemented
3836           (F) This machine doesn't implement the select() system call.
3837
3838       Self-ties of arrays and hashes are not supported
3839           (F) Self-ties are of arrays and hashes are not supported in the
3840           current implementation.
3841
3842       Semicolon seems to be missing
3843           (W semicolon) A nearby syntax error was probably caused by a
3844           missing semicolon, or possibly some other missing operator, such as
3845           a comma.
3846
3847       semi-panic: attempt to dup freed string
3848           (S internal) The internal newSVsv() routine was called to duplicate
3849           a scalar that had previously been marked as free.
3850
3851       sem%s not implemented
3852           (F) You don't have System V semaphore IPC on your system.
3853
3854       send() on closed socket %s
3855           (W closed) The socket you're sending to got itself closed sometime
3856           before now.  Check your control flow.
3857
3858       Sequence (? incomplete in regex; marked by <-- HERE in m/%s/
3859           (F) A regular expression ended with an incomplete extension (?.
3860           The <-- HERE shows in the regular expression about where the
3861           problem was discovered.  See perlre.
3862
3863       Sequence (?%s...) not implemented in regex; marked by <-- HERE in m/%s/
3864           (F) A proposed regular expression extension has the character
3865           reserved but has not yet been written.  The <-- HERE shows in the
3866           regular expression about where the problem was discovered.  See
3867           perlre.
3868
3869       Sequence (?%s...) not recognized in regex; marked by <-- HERE in m/%s/
3870           (F) You used a regular expression extension that doesn't make
3871           sense.  The <-- HERE shows in the regular expression about where
3872           the problem was discovered.  This happens when using the "(?^...)"
3873           construct to tell Perl to use the default regular expression
3874           modifiers, and you redundantly specify a default modifier.  For
3875           other causes, see perlre.
3876
3877       Sequence \%s... not terminated in regex; marked by <-- HERE in m/%s/
3878           (F) The regular expression expects a mandatory argument following
3879           the escape sequence and this has been omitted or incorrectly
3880           written.
3881
3882       Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/
3883           (F) A regular expression comment must be terminated by a closing
3884           parenthesis.  Embedded parentheses aren't allowed.  The <-- HERE
3885           shows in the regular expression about where the problem was
3886           discovered.  See perlre.
3887
3888       Sequence (?{...}) not terminated or not {}-balanced in regex; marked by
3889       <-- HERE in m/%s/
3890           (F) If the contents of a (?{...}) clause contain braces, they must
3891           balance for Perl to detect the end of the clause properly.  The <--
3892           HERE shows in the regular expression about where the problem was
3893           discovered.  See perlre.
3894
3895       500 Server error
3896           See Server error.
3897
3898       Server error
3899           (A) This is the error message generally seen in a browser window
3900           when trying to run a CGI program (including SSI) over the web.  The
3901           actual error text varies widely from server to server.  The most
3902           frequently-seen variants are "500 Server error", "Method
3903           (something) not permitted", "Document contains no data", "Premature
3904           end of script headers", and "Did not produce a valid header".
3905
3906           This is a CGI error, not a Perl error.
3907
3908           You need to make sure your script is executable, is accessible by
3909           the user CGI is running the script under (which is probably not the
3910           user account you tested it under), does not rely on any environment
3911           variables (like PATH) from the user it isn't running under, and
3912           isn't in a location where the CGI server can't find it, basically,
3913           more or less.  Please see the following for more information:
3914
3915                   http://www.perl.org/CGI_MetaFAQ.html
3916                   http://www.htmlhelp.org/faq/cgifaq.html
3917                   http://www.w3.org/Security/Faq/
3918
3919           You should also look at perlfaq9.
3920
3921       setegid() not implemented
3922           (F) You tried to assign to $), and your operating system doesn't
3923           support the setegid() system call (or equivalent), or at least
3924           Configure didn't think so.
3925
3926       seteuid() not implemented
3927           (F) You tried to assign to $>, and your operating system doesn't
3928           support the seteuid() system call (or equivalent), or at least
3929           Configure didn't think so.
3930
3931       setpgrp can't take arguments
3932           (F) Your system has the setpgrp() from BSD 4.2, which takes no
3933           arguments, unlike POSIX setpgid(), which takes a process ID and
3934           process group ID.
3935
3936       setrgid() not implemented
3937           (F) You tried to assign to $(, and your operating system doesn't
3938           support the setrgid() system call (or equivalent), or at least
3939           Configure didn't think so.
3940
3941       setruid() not implemented
3942           (F) You tried to assign to $<, and your operating system doesn't
3943           support the setruid() system call (or equivalent), or at least
3944           Configure didn't think so.
3945
3946       setsockopt() on closed socket %s
3947           (W closed) You tried to set a socket option on a closed socket.
3948           Did you forget to check the return value of your socket() call?
3949           See "setsockopt" in perlfunc.
3950
3951       shm%s not implemented
3952           (F) You don't have System V shared memory IPC on your system.
3953
3954       !=~ should be !~
3955           (W syntax) The non-matching operator is !~, not !=~.  !=~ will be
3956           interpreted as the != (numeric not equal) and ~ (1's complement)
3957           operators: probably not what you intended.
3958
3959       <> should be quotes
3960           (F) You wrote "require <file>" when you should have written
3961           "require 'file'".
3962
3963       /%s/ should probably be written as "%s"
3964           (W syntax) You have used a pattern where Perl expected to find a
3965           string, as in the first argument to "join".  Perl will treat the
3966           true or false result of matching the pattern against $_ as the
3967           string, which is probably not what you had in mind.
3968
3969       shutdown() on closed socket %s
3970           (W closed) You tried to do a shutdown on a closed socket.  Seems a
3971           bit superfluous.
3972
3973       SIG%s handler "%s" not defined
3974           (W signal) The signal handler named in %SIG doesn't, in fact,
3975           exist.  Perhaps you put it into the wrong package?
3976
3977       Smart matching a non-overloaded object breaks encapsulation
3978           (F) You should not use the "~~" operator on an object that does not
3979           overload it: Perl refuses to use the object's underlying structure
3980           for the smart match.
3981
3982       sort is now a reserved word
3983           (F) An ancient error message that almost nobody ever runs into
3984           anymore.  But before sort was a keyword, people sometimes used it
3985           as a filehandle.
3986
3987       Sort subroutine didn't return single value
3988           (F) A sort comparison subroutine may not return a list value with
3989           more or less than one element.  See "sort" in perlfunc.
3990
3991       Source filters apply only to byte streams
3992           (F) You tried to activate a source filter (usually by loading a
3993           source filter module) within a string passed to "eval".  This is
3994           not permitted under the "unicode_eval" feature.  Consider using
3995           "evalbytes" instead.  See feature.
3996
3997       splice() offset past end of array
3998           (W misc) You attempted to specify an offset that was past the end
3999           of the array passed to splice().  Splicing will instead commence at
4000           the end of the array, rather than past it.  If this isn't what you
4001           want, try explicitly pre-extending the array by assigning $#array =
4002           $offset.  See "splice" in perlfunc.
4003
4004       Split loop
4005           (P) The split was looping infinitely.  (Obviously, a split
4006           shouldn't iterate more times than there are characters of input,
4007           which is what happened.)  See "split" in perlfunc.
4008
4009       Statement unlikely to be reached
4010           (W exec) You did an exec() with some statement after it other than
4011           a die().  This is almost always an error, because exec() never
4012           returns unless there was a failure.  You probably wanted to use
4013           system() instead, which does return.  To suppress this warning, put
4014           the exec() in a block by itself.
4015
4016       "state" variable %s can't be in a package
4017           (F) Lexically scoped variables aren't in a package, so it doesn't
4018           make sense to try to declare one with a package qualifier on the
4019           front.  Use local() if you want to localize a package variable.
4020
4021       stat() on unopened filehandle %s
4022           (W unopened) You tried to use the stat() function on a filehandle
4023           that was either never opened or has since been closed.
4024
4025       Stub found while resolving method "%s" overloading "%s" in package "%s"
4026           (P) Overloading resolution over @ISA tree may be broken by
4027           importation stubs.  Stubs should never be implicitly created, but
4028           explicit calls to "can" may break this.
4029
4030       Subroutine %s redefined
4031           (W redefine) You redefined a subroutine.  To suppress this warning,
4032           say
4033
4034               {
4035                   no warnings 'redefine';
4036                   eval "sub name { ... }";
4037               }
4038
4039       Substitution loop
4040           (P) The substitution was looping infinitely.  (Obviously, a
4041           substitution shouldn't iterate more times than there are characters
4042           of input, which is what happened.)  See the discussion of
4043           substitution in "Regexp Quote-Like Operators" in perlop.
4044
4045       Substitution pattern not terminated
4046           (F) The lexer couldn't find the interior delimiter of an s/// or
4047           s{}{} construct.  Remember that bracketing delimiters count nesting
4048           level.  Missing the leading "$" from variable $s may cause this
4049           error.
4050
4051       Substitution replacement not terminated
4052           (F) The lexer couldn't find the final delimiter of an s/// or s{}{}
4053           construct.  Remember that bracketing delimiters count nesting
4054           level.  Missing the leading "$" from variable $s may cause this
4055           error.
4056
4057       substr outside of string
4058           (W substr)(F) You tried to reference a substr() that pointed
4059           outside of a string.  That is, the absolute value of the offset was
4060           larger than the length of the string.  See "substr" in perlfunc.
4061           This warning is fatal if substr is used in an lvalue context (as
4062           the left hand side of an assignment or as a subroutine argument for
4063           example).
4064
4065       sv_upgrade from type %d down to type %d
4066           (P) Perl tried to force the upgrade of an SV to a type which was
4067           actually inferior to its current type.
4068
4069       Switch (?(condition)... contains too many branches in regex; marked by
4070       <-- HERE in m/%s/
4071           (F) A (?(condition)if-clause|else-clause) construct can have at
4072           most two branches (the if-clause and the else-clause).  If you want
4073           one or both to contain alternation, such as using
4074           "this|that|other", enclose it in clustering parentheses:
4075
4076               (?(condition)(?:this|that|other)|else-clause)
4077
4078           The <-- HERE shows in the regular expression about where the
4079           problem was discovered.  See perlre.
4080
4081       Switch condition not recognized in regex; marked by <-- HERE in m/%s/
4082           (F) If the argument to the (?(...)if-clause|else-clause) construct
4083           is a number, it can be only a number.  The <-- HERE shows in the
4084           regular expression about where the problem was discovered.  See
4085           perlre.
4086
4087       switching effective %s is not implemented
4088           (F) While under the "use filetest" pragma, we cannot switch the
4089           real and effective uids or gids.
4090
4091       %s syntax OK
4092           (F) The final summary message when a "perl -c" succeeds.
4093
4094       syntax error
4095           (F) Probably means you had a syntax error.  Common reasons include:
4096
4097               A keyword is misspelled.
4098               A semicolon is missing.
4099               A comma is missing.
4100               An opening or closing parenthesis is missing.
4101               An opening or closing brace is missing.
4102               A closing quote is missing.
4103
4104           Often there will be another error message associated with the
4105           syntax error giving more information.  (Sometimes it helps to turn
4106           on -w.)  The error message itself often tells you where it was in
4107           the line when it decided to give up.  Sometimes the actual error is
4108           several tokens before this, because Perl is good at understanding
4109           random input.  Occasionally the line number may be misleading, and
4110           once in a blue moon the only way to figure out what's triggering
4111           the error is to call "perl -c" repeatedly, chopping away half the
4112           program each time to see if the error went away.  Sort of the
4113           cybernetic version of 20 questions.
4114
4115       syntax error at line %d: '%s' unexpected
4116           (A) You've accidentally run your script through the Bourne shell
4117           instead of Perl.  Check the #! line, or manually feed your script
4118           into Perl yourself.
4119
4120       syntax error in file %s at line %d, next 2 tokens "%s"
4121           (F) This error is likely to occur if you run a perl5 script through
4122           a perl4 interpreter, especially if the next 2 tokens are "use
4123           strict" or "my $var" or "our $var".
4124
4125       sysread() on closed filehandle %s
4126           (W closed) You tried to read from a closed filehandle.
4127
4128       sysread() on unopened filehandle %s
4129           (W unopened) You tried to read from a filehandle that was never
4130           opened.
4131
4132       System V %s is not implemented on this machine
4133           (F) You tried to do something with a function beginning with "sem",
4134           "shm", or "msg" but that System V IPC is not implemented in your
4135           machine.  In some machines the functionality can exist but be
4136           unconfigured.  Consult your system support.
4137
4138       syswrite() on closed filehandle %s
4139           (W closed) The filehandle you're writing to got itself closed
4140           sometime before now.  Check your control flow.
4141
4142       "-T" and "-B" not implemented on filehandles
4143           (F) Perl can't peek at the stdio buffer of filehandles when it
4144           doesn't know about your kind of stdio.  You'll have to use a
4145           filename instead.
4146
4147       Target of goto is too deeply nested
4148           (F) You tried to use "goto" to reach a label that was too deeply
4149           nested for Perl to reach.  Perl is doing you a favor by refusing.
4150
4151       telldir() attempted on invalid dirhandle %s
4152           (W io) The dirhandle you tried to telldir() is either closed or not
4153           really a dirhandle.  Check your control flow.
4154
4155       tell() on unopened filehandle
4156           (W unopened) You tried to use the tell() function on a filehandle
4157           that was either never opened or has since been closed.
4158
4159       That use of $[ is unsupported
4160           (F) Assignment to $[ is now strictly circumscribed, and interpreted
4161           as a compiler directive.  You may say only one of
4162
4163               $[ = 0;
4164               $[ = 1;
4165               ...
4166               local $[ = 0;
4167               local $[ = 1;
4168               ...
4169
4170           This is to prevent the problem of one module changing the array
4171           base out from under another module inadvertently.  See "$[" in
4172           perlvar and arybase.
4173
4174       The crypt() function is unimplemented due to excessive paranoia
4175           (F) Configure couldn't find the crypt() function on your machine,
4176           probably because your vendor didn't supply it, probably because
4177           they think the U.S. Government thinks it's a secret, or at least
4178           that they will continue to pretend that it is.  And if you quote me
4179           on that, I will deny it.
4180
4181       The %s function is unimplemented
4182           (F) The function indicated isn't implemented on this architecture,
4183           according to the probings of Configure.
4184
4185       The stat preceding %s wasn't an lstat
4186           (F) It makes no sense to test the current stat buffer for symbolic
4187           linkhood if the last stat that wrote to the stat buffer already
4188           went past the symlink to get to the real file.  Use an actual
4189           filename instead.
4190
4191       The 'unique' attribute may only be applied to 'our' variables
4192           (F) This attribute was never supported on "my" or "sub"
4193           declarations.
4194
4195       This Perl can't reset CRTL environ elements (%s)
4196       This Perl can't set CRTL environ elements (%s=%s)
4197           (W internal) Warnings peculiar to VMS.  You tried to change or
4198           delete an element of the CRTL's internal environ array, but your
4199           copy of Perl wasn't built with a CRTL that contained the setenv()
4200           function.  You'll need to rebuild Perl with a CRTL that does, or
4201           redefine PERL_ENV_TABLES (see perlvms) so that the environ array
4202           isn't the target of the change to %ENV which produced the warning.
4203
4204       thread failed to start: %s
4205           (W threads)(S) The entry point function of threads->create() failed
4206           for some reason.
4207
4208       times not implemented
4209           (F) Your version of the C library apparently doesn't do times().  I
4210           suspect you're not running on Unix.
4211
4212       "-T" is on the #! line, it must also be used on the command line
4213           (X) The #! line (or local equivalent) in a Perl script contains the
4214           -T option (or the -t option), but Perl was not invoked with -T in
4215           its command line.  This is an error because, by the time Perl
4216           discovers a -T in a script, it's too late to properly taint
4217           everything from the environment.  So Perl gives up.
4218
4219           If the Perl script is being executed as a command using the #!
4220           mechanism (or its local equivalent), this error can usually be
4221           fixed by editing the #! line so that the -%c option is a part of
4222           Perl's first argument: e.g. change "perl -n -%c" to "perl -%c -n".
4223
4224           If the Perl script is being executed as "perl scriptname", then the
4225           -%c option must appear on the command line: "perl -%c scriptname".
4226
4227       To%s: illegal mapping '%s'
4228           (F) You tried to define a customized To-mapping for lc(), lcfirst,
4229           uc(), or ucfirst() (or their string-inlined versions), but you
4230           specified an illegal mapping.  See "User-Defined Character
4231           Properties" in perlunicode.
4232
4233       Too deeply nested ()-groups
4234           (F) Your template contains ()-groups with a ridiculously deep
4235           nesting level.
4236
4237       Too few args to syscall
4238           (F) There has to be at least one argument to syscall() to specify
4239           the system call to call, silly dilly.
4240
4241       Too late for "-%s" option
4242           (X) The #! line (or local equivalent) in a Perl script contains the
4243           -M, -m or -C option.
4244
4245           In the case of -M and -m, this is an error because those options
4246           are not intended for use inside scripts.  Use the "use" pragma
4247           instead.
4248
4249           The -C option only works if it is specified on the command line as
4250           well (with the same sequence of letters or numbers following).
4251           Either specify this option on the command line, or, if your system
4252           supports it, make your script executable and run it directly
4253           instead of passing it to perl.
4254
4255       Too late to run %s block
4256           (W void) A CHECK or INIT block is being defined during run time
4257           proper, when the opportunity to run them has already passed.
4258           Perhaps you are loading a file with "require" or "do" when you
4259           should be using "use" instead.  Or perhaps you should put the
4260           "require" or "do" inside a BEGIN block.
4261
4262       Too many args to syscall
4263           (F) Perl supports a maximum of only 14 args to syscall().
4264
4265       Too many arguments for %s
4266           (F) The function requires fewer arguments than you specified.
4267
4268       Too many )'s
4269           (A) You've accidentally run your script through csh instead of
4270           Perl.  Check the #! line, or manually feed your script into Perl
4271           yourself.
4272
4273       Too many ('s
4274           (A) You've accidentally run your script through csh instead of
4275           Perl.  Check the #! line, or manually feed your script into Perl
4276           yourself.
4277
4278       Trailing \ in regex m/%s/
4279           (F) The regular expression ends with an unbackslashed backslash.
4280           Backslash it.   See perlre.
4281
4282       Transliteration pattern not terminated
4283           (F) The lexer couldn't find the interior delimiter of a tr/// or
4284           tr[][] or y/// or y[][] construct.  Missing the leading "$" from
4285           variables $tr or $y may cause this error.
4286
4287       Transliteration replacement not terminated
4288           (F) The lexer couldn't find the final delimiter of a tr///, tr[][],
4289           y/// or y[][] construct.
4290
4291       '%s' trapped by operation mask
4292           (F) You tried to use an operator from a Safe compartment in which
4293           it's disallowed.  See Safe.
4294
4295       truncate not implemented
4296           (F) Your machine doesn't implement a file truncation mechanism that
4297           Configure knows about.
4298
4299       Type of arg %d to &CORE::%s must be %s
4300           (F) The subroutine in question in the CORE package requires its
4301           argument to be a hard reference to data of the specified type.
4302           Overloading is ignored, so a reference to an object that is not the
4303           specified type, but nonetheless has overloading to handle it, will
4304           still not be accepted.
4305
4306       Type of arg %d to %s must be %s (not %s)
4307           (F) This function requires the argument in that position to be of a
4308           certain type.  Arrays must be @NAME or "@{EXPR}".  Hashes must be
4309           %NAME or "%{EXPR}".  No implicit dereferencing is allowed--use the
4310           {EXPR} forms as an explicit dereference.  See perlref.
4311
4312       Type of argument to %s must be unblessed hashref or arrayref
4313           (F) You called "keys", "values" or "each" with a scalar argument
4314           that was not a reference to an unblessed hash or array.
4315
4316       umask not implemented
4317           (F) Your machine doesn't implement the umask function and you tried
4318           to use it to restrict permissions for yourself (EXPR & 0700).
4319
4320       Unable to create sub named "%s"
4321           (F) You attempted to create or access a subroutine with an illegal
4322           name.
4323
4324       Unbalanced context: %d more PUSHes than POPs
4325           (W internal) The exit code detected an internal inconsistency in
4326           how many execution contexts were entered and left.
4327
4328       Unbalanced saves: %d more saves than restores
4329           (W internal) The exit code detected an internal inconsistency in
4330           how many values were temporarily localized.
4331
4332       Unbalanced scopes: %d more ENTERs than LEAVEs
4333           (W internal) The exit code detected an internal inconsistency in
4334           how many blocks were entered and left.
4335
4336       Unbalanced string table refcount: (%d) for "%s"
4337           (W internal) On exit, Perl found some strings remaining in the
4338           shared string table used for copy on write and for hash keys.  The
4339           entries should have been freed, so this indicates a bug somewhere.
4340
4341       Unbalanced tmps: %d more allocs than frees
4342           (W internal) The exit code detected an internal inconsistency in
4343           how many mortal scalars were allocated and freed.
4344
4345       Undefined format "%s" called
4346           (F) The format indicated doesn't seem to exist.  Perhaps it's
4347           really in another package?  See perlform.
4348
4349       Undefined sort subroutine "%s" called
4350           (F) The sort comparison routine specified doesn't seem to exist.
4351           Perhaps it's in a different package?  See "sort" in perlfunc.
4352
4353       Undefined subroutine &%s called
4354           (F) The subroutine indicated hasn't been defined, or if it was, it
4355           has since been undefined.
4356
4357       Undefined subroutine called
4358           (F) The anonymous subroutine you're trying to call hasn't been
4359           defined, or if it was, it has since been undefined.
4360
4361       Undefined subroutine in sort
4362           (F) The sort comparison routine specified is declared but doesn't
4363           seem to have been defined yet.  See "sort" in perlfunc.
4364
4365       Undefined top format "%s" called
4366           (F) The format indicated doesn't seem to exist.  Perhaps it's
4367           really in another package?  See perlform.
4368
4369       Undefined value assigned to typeglob
4370           (W misc) An undefined value was assigned to a typeglob, a la "*foo
4371           = undef".  This does nothing.  It's possible that you really mean
4372           "undef *foo".
4373
4374       %s: Undefined variable
4375           (A) You've accidentally run your script through csh instead of
4376           Perl.  Check the #! line, or manually feed your script into Perl
4377           yourself.
4378
4379       unexec of %s into %s failed!
4380           (F) The unexec() routine failed for some reason.  See your local
4381           FSF representative, who probably put it there in the first place.
4382
4383       Unexpected constant lvalue entersub entry via type/targ %d:%d
4384           (P) When compiling a subroutine call in lvalue context, Perl failed
4385           an internal consistency check.  It encountered a malformed op tree.
4386
4387       Unicode non-character U+%X is illegal for open interchange
4388           (W utf8, nonchar) Certain codepoints, such as U+FFFE and U+FFFF,
4389           are defined by the Unicode standard to be non-characters.  Those
4390           are legal codepoints, but are reserved for internal use; so,
4391           applications shouldn't attempt to exchange them.  If you know what
4392           you are doing you can turn off this warning by "no warnings
4393           'nonchar';".
4394
4395       Unicode surrogate U+%X is illegal in UTF-8
4396           (W utf8, surrogate) You had a UTF-16 surrogate in a context where
4397           they are not considered acceptable.  These code points, between
4398           U+D800 and U+DFFF (inclusive), are used by Unicode only for UTF-16.
4399           However, Perl internally allows all unsigned integer code points
4400           (up to the size limit available on your platform), including
4401           surrogates.  But these can cause problems when being input or
4402           output, which is likely where this message came from.  If you
4403           really really know what you are doing you can turn off this warning
4404           by "no warnings 'surrogate';".
4405
4406       Unknown BYTEORDER
4407           (F) There are no byte-swapping functions for a machine with this
4408           byte order.
4409
4410       Unknown error
4411           (P) Perl was about to print an error message in $@, but the $@
4412           variable did not exist, even after an attempt to create it.
4413
4414       Unknown open() mode '%s'
4415           (F) The second argument of 3-argument open() is not among the list
4416           of valid modes: "<", ">", ">>", "+<", "+>", "+>>", "-|", "|-",
4417           "<&", ">&".
4418
4419       Unknown PerlIO layer "%s"
4420           (W layer) An attempt was made to push an unknown layer onto the
4421           Perl I/O system.  (Layers take care of transforming data between
4422           external and internal representations.)  Note that some layers,
4423           such as "mmap", are not supported in all environments.  If your
4424           program didn't explicitly request the failing operation, it may be
4425           the result of the value of the environment variable PERLIO.
4426
4427       Unknown process %x sent message to prime_env_iter: %s
4428           (P) An error peculiar to VMS.  Perl was reading values for %ENV
4429           before iterating over it, and someone else stuck a message in the
4430           stream of data Perl expected.  Someone's very confused, or perhaps
4431           trying to subvert Perl's population of %ENV for nefarious purposes.
4432
4433       Unknown "re" subpragma '%s' (known ones are: %s)
4434           (W) You tried to use an unknown subpragma of the "re" pragma.
4435
4436       Unknown switch condition (?(%s in regex; marked by <-- HERE in m/%s/
4437           (F) The condition part of a (?(condition)if-clause|else-clause)
4438           construct is not known.  The condition must be one of the
4439           following:
4440
4441            (1) (2) ...        true if 1st, 2nd, etc., capture matched
4442            (<NAME>) ('NAME')  true if named capture matched
4443            (?=...) (?<=...)   true if subpattern matches
4444            (?!...) (?<!...)   true if subpattern fails to match
4445            (?{ CODE })        true if code returns a true value
4446            (R)                true if evaluating inside recursion
4447            (R1) (R2) ...      true if directly inside capture group 1, 2, etc.
4448            (R&NAME)           true if directly inside named capture
4449            (DEFINE)           always false; for defining named subpatterns
4450
4451           The <-- HERE shows in the regular expression about where the
4452           problem was discovered.  See perlre.
4453
4454       Unknown Unicode option letter '%c'
4455           (F) You specified an unknown Unicode option.  See perlrun
4456           documentation of the "-C" switch for the list of known options.
4457
4458       Unknown Unicode option value %x
4459           (F) You specified an unknown Unicode option.  See perlrun
4460           documentation of the "-C" switch for the list of known options.
4461
4462       Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/
4463           (F) You either made a typo or have incorrectly put a "*" quantifier
4464           after an open brace in your pattern.  Check the pattern and review
4465           perlre for details on legal verb patterns.
4466
4467       Unknown warnings category '%s'
4468           (F) An error issued by the "warnings" pragma.  You specified a
4469           warnings category that is unknown to perl at this point.
4470
4471           Note that if you want to enable a warnings category registered by a
4472           module (e.g. "use warnings 'File::Find'"), you must have loaded
4473           this module first.
4474
4475       unmatched [ in regex; marked by <-- HERE in m/%s/
4476           (F) The brackets around a character class must match.  If you wish
4477           to include a closing bracket in a character class, backslash it or
4478           put it first.  The <-- HERE shows in the regular expression about
4479           where the problem was discovered.  See perlre.
4480
4481       unmatched ( in regex; marked by <-- HERE in m/%s/
4482           (F) Unbackslashed parentheses must always be balanced in regular
4483           expressions.  If you're a vi user, the % key is valuable for
4484           finding the matching parenthesis.  The <-- HERE shows in the
4485           regular expression about where the problem was discovered.  See
4486           perlre.
4487
4488       Unmatched right %s bracket
4489           (F) The lexer counted more closing curly or square brackets than
4490           opening ones, so you're probably missing a matching opening
4491           bracket.  As a general rule, you'll find the missing one (so to
4492           speak) near the place you were last editing.
4493
4494       Unquoted string "%s" may clash with future reserved word
4495           (W reserved) You used a bareword that might someday be claimed as a
4496           reserved word.  It's best to put such a word in quotes, or
4497           capitalize it somehow, or insert an underbar into it.  You might
4498           also declare it as a subroutine.
4499
4500       Unrecognized character %s; marked by <-- HERE after %s near column %d
4501           (F) The Perl parser has no idea what to do with the specified
4502           character in your Perl script (or eval) near the specified column.
4503           Perhaps you tried to run a compressed script, a binary program, or
4504           a directory as a Perl program.
4505
4506       Unrecognized escape \%c in character class passed through in regex;
4507       marked by <-- HERE in m/%s/
4508           (W regexp) You used a backslash-character combination which is not
4509           recognized by Perl inside character classes.  The character was
4510           understood literally, but this may change in a future version of
4511           Perl.  The <-- HERE shows in the regular expression about where the
4512           escape was discovered.
4513
4514       Unrecognized escape \%c passed through
4515           (W misc) You used a backslash-character combination which is not
4516           recognized by Perl.  The character was understood literally, but
4517           this may change in a future version of Perl.
4518
4519       Unrecognized escape \%s passed through in regex; marked by <-- HERE in
4520       m/%s/
4521           (W regexp) You used a backslash-character combination which is not
4522           recognized by Perl.  The character(s) were understood literally,
4523           but this may change in a future version of Perl.  The <-- HERE
4524           shows in the regular expression about where the escape was
4525           discovered.
4526
4527       Unrecognized signal name "%s"
4528           (F) You specified a signal name to the kill() function that was not
4529           recognized.  Say "kill -l" in your shell to see the valid signal
4530           names on your system.
4531
4532       Unrecognized switch: -%s  (-h will show valid options)
4533           (F) You specified an illegal option to Perl.  Don't do that.  (If
4534           you think you didn't do that, check the #! line to see if it's
4535           supplying the bad switch on your behalf.)
4536
4537       Unsuccessful %s on filename containing newline
4538           (W newline) A file operation was attempted on a filename, and that
4539           operation failed, PROBABLY because the filename contained a
4540           newline, PROBABLY because you forgot to chomp() it off.  See
4541           "chomp" in perlfunc.
4542
4543       Unsupported directory function "%s" called
4544           (F) Your machine doesn't support opendir() and readdir().
4545
4546       Unsupported function %s
4547           (F) This machine doesn't implement the indicated function,
4548           apparently.  At least, Configure doesn't think so.
4549
4550       Unsupported function fork
4551           (F) Your version of executable does not support forking.
4552
4553           Note that under some systems, like OS/2, there may be different
4554           flavors of Perl executables, some of which may support fork, some
4555           not.  Try changing the name you call Perl by to "perl_", "perl__",
4556           and so on.
4557
4558       Unsupported script encoding %s
4559           (F) Your program file begins with a Unicode Byte Order Mark (BOM)
4560           which declares it to be in a Unicode encoding that Perl cannot
4561           read.
4562
4563       Unsupported socket function "%s" called
4564           (F) Your machine doesn't support the Berkeley socket mechanism, or
4565           at least that's what Configure thought.
4566
4567       Unterminated attribute list
4568           (F) The lexer found something other than a simple identifier at the
4569           start of an attribute, and it wasn't a semicolon or the start of a
4570           block.  Perhaps you terminated the parameter list of the previous
4571           attribute too soon.  See attributes.
4572
4573       Unterminated attribute parameter in attribute list
4574           (F) The lexer saw an opening (left) parenthesis character while
4575           parsing an attribute list, but the matching closing (right)
4576           parenthesis character was not found.  You may need to add (or
4577           remove) a backslash character to get your parentheses to balance.
4578           See attributes.
4579
4580       Unterminated compressed integer
4581           (F) An argument to unpack("w",...) was incompatible with the BER
4582           compressed integer format and could not be converted to an integer.
4583           See "pack" in perlfunc.
4584
4585       Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/
4586           (F) You missed a close brace on a \g{..} pattern (group reference)
4587           in a regular expression.  Fix the pattern and retry.
4588
4589       Unterminated <> operator
4590           (F) The lexer saw a left angle bracket in a place where it was
4591           expecting a term, so it's looking for the corresponding right angle
4592           bracket, and not finding it.  Chances are you left some needed
4593           parentheses out earlier in the line, and you really meant a "less
4594           than".
4595
4596       Unterminated verb pattern argument in regex; marked by <-- HERE in
4597       m/%s/
4598           (F) You used a pattern of the form "(*VERB:ARG)" but did not
4599           terminate the pattern with a ")".  Fix the pattern and retry.
4600
4601       Unterminated verb pattern in regex; marked by <-- HERE in m/%s/
4602           (F) You used a pattern of the form "(*VERB)" but did not terminate
4603           the pattern with a ")".  Fix the pattern and retry.
4604
4605       untie attempted while %d inner references still exist
4606           (W untie) A copy of the object returned from "tie" (or "tied") was
4607           still valid when "untie" was called.
4608
4609       Usage: POSIX::%s(%s)
4610           (F) You called a POSIX function with incorrect arguments.  See
4611           "FUNCTIONS" in POSIX for more information.
4612
4613       Usage: Win32::%s(%s)
4614           (F) You called a Win32 function with incorrect arguments.  See
4615           Win32 for more information.
4616
4617       $[ used in %s (did you mean $] ?)
4618           (W syntax) You used $[ in a comparison, such as:
4619
4620               if ($[ > 5.006) {
4621                   ...
4622               }
4623
4624           You probably meant to use $] instead.  $[ is the base for indexing
4625           arrays.  $] is the Perl version number in decimal.
4626
4627       Useless assignment to a temporary
4628           (W misc) You assigned to an lvalue subroutine, but what the
4629           subroutine returned was a temporary scalar about to be discarded,
4630           so the assignment had no effect.
4631
4632       Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in
4633       m/%s/
4634           (W regexp) You have used an internal modifier such as (?-o) that
4635           has no meaning unless removed from the entire regexp:
4636
4637               if ($string =~ /(?-o)$pattern/o) { ... }
4638
4639           must be written as
4640
4641               if ($string =~ /$pattern/) { ... }
4642
4643           The <-- HERE shows in the regular expression about where the
4644           problem was discovered.  See perlre.
4645
4646       Useless localization of %s
4647           (W syntax) The localization of lvalues such as "local($x=10)" is
4648           legal, but in fact the local() currently has no effect.  This may
4649           change at some point in the future, but in the meantime such code
4650           is discouraged.
4651
4652       Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/
4653           (W regexp) You have used an internal modifier such as (?o) that has
4654           no meaning unless applied to the entire regexp:
4655
4656               if ($string =~ /(?o)$pattern/) { ... }
4657
4658           must be written as
4659
4660               if ($string =~ /$pattern/o) { ... }
4661
4662           The <-- HERE shows in the regular expression about where the
4663           problem was discovered.  See perlre.
4664
4665       Useless use of /d modifier in transliteration operator
4666           (W misc) You have used the /d modifier where the searchlist has the
4667           same length as the replacelist.  See perlop for more information
4668           about the /d modifier.
4669
4670       Useless use of \E
4671           (W misc) You have a \E in a double-quotish string without a "\U",
4672           "\L" or "\Q" preceding it.
4673
4674       Useless use of %s in void context
4675           (W void) You did something without a side effect in a context that
4676           does nothing with the return value, such as a statement that
4677           doesn't return a value from a block, or the left side of a scalar
4678           comma operator.  Very often this points not to stupidity on your
4679           part, but a failure of Perl to parse your program the way you
4680           thought it would.  For example, you'd get this if you mixed up your
4681           C precedence with Python precedence and said
4682
4683               $one, $two = 1, 2;
4684
4685           when you meant to say
4686
4687               ($one, $two) = (1, 2);
4688
4689           Another common error is to use ordinary parentheses to construct a
4690           list reference when you should be using square or curly brackets,
4691           for example, if you say
4692
4693               $array = (1,2);
4694
4695           when you should have said
4696
4697               $array = [1,2];
4698
4699           The square brackets explicitly turn a list value into a scalar
4700           value, while parentheses do not.  So when a parenthesized list is
4701           evaluated in a scalar context, the comma is treated like C's comma
4702           operator, which throws away the left argument, which is not what
4703           you want.  See perlref for more on this.
4704
4705           This warning will not be issued for numerical constants equal to 0
4706           or 1 since they are often used in statements like
4707
4708               1 while sub_with_side_effects();
4709
4710           String constants that would normally evaluate to 0 or 1 are warned
4711           about.
4712
4713       Useless use of "re" pragma
4714           (W) You did "use re;" without any arguments.  That isn't very
4715           useful.
4716
4717       Useless use of sort in scalar context
4718           (W void) You used sort in scalar context, as in :
4719
4720               my $x = sort @y;
4721
4722           This is not very useful, and perl currently optimizes this away.
4723
4724       Useless use of %s with no values
4725           (W syntax) You used the push() or unshift() function with no
4726           arguments apart from the array, like "push(@x)" or "unshift(@foo)".
4727           That won't usually have any effect on the array, so is completely
4728           useless.  It's possible in principle that push(@tied_array) could
4729           have some effect if the array is tied to a class which implements a
4730           PUSH method.  If so, you can write it as "push(@tied_array,())" to
4731           avoid this warning.
4732
4733       "use" not allowed in expression
4734           (F) The "use" keyword is recognized and executed at compile time,
4735           and returns no useful value.  See perlmod.
4736
4737       Use of assignment to $[ is deprecated
4738           (D deprecated) The $[ variable (index of the first element in an
4739           array) is deprecated.  See "$[" in perlvar.
4740
4741       Use of bare << to mean <<"" is deprecated
4742           (D deprecated) You are now encouraged to use the explicitly quoted
4743           form if you wish to use an empty line as the terminator of the
4744           here-document.
4745
4746       Use of comma-less variable list is deprecated
4747           (D deprecated) The values you give to a format should be separated
4748           by commas, not just aligned on a line.
4749
4750       Use of chdir('') or chdir(undef) as chdir() deprecated
4751           (D deprecated) chdir() with no arguments is documented to change to
4752           $ENV{HOME} or $ENV{LOGDIR}.  chdir(undef) and chdir('') share this
4753           behavior, but that has been deprecated.  In future versions they
4754           will simply fail.
4755
4756           Be careful to check that what you pass to chdir() is defined and
4757           not blank, else you might find yourself in your home directory.
4758
4759       Use of /c modifier is meaningless in s///
4760           (W regexp) You used the /c modifier in a substitution.  The /c
4761           modifier is not presently meaningful in substitutions.
4762
4763       Use of /c modifier is meaningless without /g
4764           (W regexp) You used the /c modifier with a regex operand, but
4765           didn't use the /g modifier.  Currently, /c is meaningful only when
4766           /g is used.  (This may change in the future.)
4767
4768       Use of := for an empty attribute list is not allowed
4769           (F) The construction "my $x := 42" used to parse as equivalent to
4770           "my $x : = 42" (applying an empty attribute list to $x).  This
4771           construct was deprecated in 5.12.0, and has now been made a syntax
4772           error, so ":=" can be reclaimed as a new operator in the future.
4773
4774           If you need an empty attribute list, for example in a code
4775           generator, add a space before the "=".
4776
4777       Use of freed value in iteration
4778           (F) Perhaps you modified the iterated array within the loop?  This
4779           error is typically caused by code like the following:
4780
4781               @a = (3,4);
4782               @a = () for (1,2,@a);
4783
4784           You are not supposed to modify arrays while they are being iterated
4785           over.  For speed and efficiency reasons, Perl internally does not
4786           do full reference-counting of iterated items, hence deleting such
4787           an item in the middle of an iteration causes Perl to see a freed
4788           value.
4789
4790       Use of *glob{FILEHANDLE} is deprecated
4791           (D deprecated) You are now encouraged to use the shorter *glob{IO}
4792           form to access the filehandle slot within a typeglob.
4793
4794       Use of /g modifier is meaningless in split
4795           (W regexp) You used the /g modifier on the pattern for a "split"
4796           operator.  Since "split" always tries to match the pattern
4797           repeatedly, the "/g" has no effect.
4798
4799       Use of "goto" to jump into a construct is deprecated
4800           (D deprecated) Using "goto" to jump from an outer scope into an
4801           inner scope is deprecated and should be avoided.
4802
4803       Use of inherited AUTOLOAD for non-method %s() is deprecated
4804           (D deprecated) As an (ahem) accidental feature, "AUTOLOAD"
4805           subroutines are looked up as methods (using the @ISA hierarchy)
4806           even when the subroutines to be autoloaded were called as plain
4807           functions (e.g. "Foo::bar()"), not as methods (e.g. "Foo->bar()" or
4808           "$obj->bar()").
4809
4810           This bug will be rectified in future by using method lookup only
4811           for methods' "AUTOLOAD"s.  However, there is a significant base of
4812           existing code that may be using the old behavior.  So, as an
4813           interim step, Perl currently issues an optional warning when non-
4814           methods use inherited "AUTOLOAD"s.
4815
4816           The simple rule is:  Inheritance will not work when autoloading
4817           non-methods.  The simple fix for old code is:  In any module that
4818           used to depend on inheriting "AUTOLOAD" for non-methods from a base
4819           class named "BaseClass", execute "*AUTOLOAD =
4820           \&BaseClass::AUTOLOAD" during startup.
4821
4822           In code that currently says "use AutoLoader; @ISA =
4823           qw(AutoLoader);" you should remove AutoLoader from @ISA and change
4824           "use AutoLoader;" to "use AutoLoader 'AUTOLOAD';".
4825
4826       Use of %s in printf format not supported
4827           (F) You attempted to use a feature of printf that is accessible
4828           from only C.  This usually means there's a better way to do it in
4829           Perl.
4830
4831       Use of %s is deprecated
4832           (D deprecated) The construct indicated is no longer recommended for
4833           use, generally because there's a better way to do it, and also
4834           because the old way has bad side effects.
4835
4836       Use of -l on filehandle %s
4837           (W io) A filehandle represents an opened file, and when you opened
4838           the file it already went past any symlink you are presumably trying
4839           to look for.  The operation returned "undef".  Use a filename
4840           instead.
4841
4842       Use of %s on a handle without * is deprecated
4843           (D deprecated) You used "tie", "tied" or "untie" on a scalar but
4844           that scalar happens to hold a typeglob, which means its filehandle
4845           will be tied.  If you mean to tie a handle, use an explicit * as in
4846           "tie *$handle".
4847
4848           This was a long-standing bug that was removed in Perl 5.16, as
4849           there was no way to tie the scalar itself when it held a typeglob,
4850           and no way to untie a scalar that had had a typeglob assigned to
4851           it.  If you see this message, you must be using an older version.
4852
4853       Use of ?PATTERN? without explicit operator is deprecated
4854           (D deprecated) You have written something like "?\w?", for a
4855           regular expression that matches only once.  Starting this term
4856           directly with the question mark delimiter is now deprecated, so
4857           that the question mark will be available for use in new operators
4858           in the future.  Write "m?\w?"  instead, explicitly using the "m"
4859           operator: the question mark delimiter still invokes match-once
4860           behaviour.
4861
4862       Use of qw(...) as parentheses is deprecated
4863           (D deprecated) You have something like "foreach $x qw(a b c)
4864           {...}", using a "qw(...)" list literal where a parenthesised
4865           expression is expected.  Historically the parser fooled itself into
4866           thinking that "qw(...)" literals were always enclosed in
4867           parentheses, and as a result you could sometimes omit parentheses
4868           around them.  (You could never do the "foreach qw(a b c) {...}"
4869           that you might have expected, though.)  The parser no longer lies
4870           to itself in this way.  Wrap the list literal in parentheses, like
4871           "foreach $x (qw(a b c)) {...}".
4872
4873       Use of reference "%s" as array index
4874           (W misc) You tried to use a reference as an array index; this
4875           probably isn't what you mean, because references in numerical
4876           context tend to be huge numbers, and so usually indicates
4877           programmer error.
4878
4879           If you really do mean it, explicitly numify your reference, like
4880           so: $array[0+$ref].  This warning is not given for overloaded
4881           objects, however, because you can overload the numification and
4882           stringification operators and then you presumably know what you are
4883           doing.
4884
4885       Use of reserved word "%s" is deprecated
4886           (D deprecated) The indicated bareword is a reserved word.  Future
4887           versions of perl may use it as a keyword, so you're better off
4888           either explicitly quoting the word in a manner appropriate for its
4889           context of use, or using a different name altogether.  The warning
4890           can be suppressed for subroutine names by either adding a "&"
4891           prefix, or using a package qualifier, e.g. "&our()", or
4892           "Foo::our()".
4893
4894       Use of tainted arguments in %s is deprecated
4895           (W taint, deprecated) You have supplied "system()" or "exec()" with
4896           multiple arguments and at least one of them is tainted.  This used
4897           to be allowed but will become a fatal error in a future version of
4898           perl.  Untaint your arguments.  See perlsec.
4899
4900       Use of uninitialized value%s
4901           (W uninitialized) An undefined value was used as if it were already
4902           defined.  It was interpreted as a "" or a 0, but maybe it was a
4903           mistake.  To suppress this warning assign a defined value to your
4904           variables.
4905
4906           To help you figure out what was undefined, perl will try to tell
4907           you the name of the variable (if any) that was undefined.  In some
4908           cases it cannot do this, so it also tells you what operation you
4909           used the undefined value in.  Note, however, that perl optimizes
4910           your program anid the operation displayed in the warning may not
4911           necessarily appear literally in your program.  For example, "that
4912           $foo" is usually optimized into ""that " . $foo", and the warning
4913           will refer to the "concatenation (.)" operator, even though there
4914           is no "." in your program.
4915
4916       Using a hash as a reference is deprecated
4917           (D deprecated) You tried to use a hash as a reference, as in
4918           "%foo->{"bar"}" or "%$ref->{"hello"}".  Versions of perl <= 5.6.1
4919           used to allow this syntax, but shouldn't have.   It is now
4920           deprecated, and will be removed in a future version.
4921
4922       Using an array as a reference is deprecated
4923           (D deprecated) You tried to use an array as a reference, as in
4924           "@foo->[23]" or "@$ref->[99]".  Versions of perl <= 5.6.1 used to
4925           allow this syntax, but shouldn't have.  It is now deprecated, and
4926           will be removed in a future version.
4927
4928       Using just the first character returned by \N{} in character class
4929           (W) A charnames handler may return a sequence of more than one
4930           character.  Currently all but the first one are discarded when used
4931           in a regular expression pattern bracketed character class.
4932
4933       Using !~ with %s doesn't make sense
4934           (F) Using the "!~" operator with "s///r", "tr///r" or "y///r" is
4935           currently reserved for future use, as the exact behaviour has not
4936           been decided.  (Simply returning the boolean opposite of the
4937           modified string is usually not particularly useful.)
4938
4939       UTF-16 surrogate U+%X
4940           (W utf8, surrogate) You had a UTF-16 surrogate in a context where
4941           they are not considered acceptable.  These code points, between
4942           U+D800 and U+DFFF (inclusive), are used by Unicode only for UTF-16.
4943           However, Perl internally allows all unsigned integer code points
4944           (up to the size limit available on your platform), including
4945           surrogates.  But these can cause problems when being input or
4946           output, which is likely where this message came from.  If you
4947           really really know what you are doing you can turn off this warning
4948           by "no warnings 'surrogate';".
4949
4950       Value of %s can be "0"; test with defined()
4951           (W misc) In a conditional expression, you used <HANDLE>, <*>
4952           (glob), "each()", or "readdir()" as a boolean value.  Each of these
4953           constructs can return a value of "0"; that would make the
4954           conditional expression false, which is probably not what you
4955           intended.  When using these constructs in conditional expressions,
4956           test their values with the "defined" operator.
4957
4958       Value of CLI symbol "%s" too long
4959           (W misc) A warning peculiar to VMS.  Perl tried to read the value
4960           of an %ENV element from a CLI symbol table, and found a resultant
4961           string longer than 1024 characters.  The return value has been
4962           truncated to 1024 characters.
4963
4964       Variable "%s" is not available
4965           (W closure) During compilation, an inner named subroutine or eval
4966           is attempting to capture an outer lexical that is not currently
4967           available.  This can happen for one of two reasons.  First, the
4968           outer lexical may be declared in an outer anonymous subroutine that
4969           has not yet been created.  (Remember that named subs are created at
4970           compile time, while anonymous subs are created at run-time.)  For
4971           example,
4972
4973               sub { my $a; sub f { $a } }
4974
4975           At the time that f is created, it can't capture the current value
4976           of $a, since the anonymous subroutine hasn't been created yet.
4977           Conversely, the following won't give a warning since the anonymous
4978           subroutine has by now been created and is live:
4979
4980               sub { my $a; eval 'sub f { $a }' }->();
4981
4982           The second situation is caused by an eval accessing a variable that
4983           has gone out of scope, for example,
4984
4985               sub f {
4986                   my $a;
4987                   sub { eval '$a' }
4988               }
4989               f()->();
4990
4991           Here, when the '$a' in the eval is being compiled, f() is not
4992           currently being executed, so its $a is not available for capture.
4993
4994       Variable "%s" is not imported%s
4995           (W misc) With "use strict" in effect, you referred to a global
4996           variable that you apparently thought was imported from another
4997           module, because something else of the same name (usually a
4998           subroutine) is exported by that module.  It usually means you put
4999           the wrong funny character on the front of your variable.
5000
5001       Variable length lookbehind not implemented in m/%s/
5002           (F) Lookbehind is allowed only for subexpressions whose length is
5003           fixed and known at compile time.  See perlre.
5004
5005       "%s" variable %s masks earlier declaration in same %s
5006           (W misc) A "my", "our" or "state" variable has been redeclared in
5007           the current scope or statement, effectively eliminating all access
5008           to the previous instance.  This is almost always a typographical
5009           error.  Note that the earlier variable will still exist until the
5010           end of the scope or until all closure referents to it are
5011           destroyed.
5012
5013       Variable syntax
5014           (A) You've accidentally run your script through csh instead of
5015           Perl.  Check the #! line, or manually feed your script into Perl
5016           yourself.
5017
5018       Variable "%s" will not stay shared
5019           (W closure) An inner (nested) named subroutine is referencing a
5020           lexical variable defined in an outer named subroutine.
5021
5022           When the inner subroutine is called, it will see the value of the
5023           outer subroutine's variable as it was before and during the *first*
5024           call to the outer subroutine; in this case, after the first call to
5025           the outer subroutine is complete, the inner and outer subroutines
5026           will no longer share a common value for the variable.  In other
5027           words, the variable will no longer be shared.
5028
5029           This problem can usually be solved by making the inner subroutine
5030           anonymous, using the "sub {}" syntax.  When inner anonymous subs
5031           that reference variables in outer subroutines are created, they are
5032           automatically rebound to the current values of such variables.
5033
5034       vector argument not supported with alpha versions
5035           (W internal) The %vd (s)printf format does not support version
5036           objects with alpha parts.
5037
5038       Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE
5039       in m/%s/
5040           (F) You used a verb pattern that requires an argument.  Supply an
5041           argument or check that you are using the right verb.
5042
5043       Verb pattern '%s' may not have an argument in regex; marked by <-- HERE
5044       in m/%s/
5045           (F) You used a verb pattern that is not allowed an argument.
5046           Remove the argument or check that you are using the right verb.
5047
5048       Version number must be a constant number
5049           (P) The attempt to translate a "use Module n.n LIST" statement into
5050           its equivalent "BEGIN" block found an internal inconsistency with
5051           the version number.
5052
5053       Version string '%s' contains invalid data; ignoring: '%s'
5054           (W misc) The version string contains invalid characters at the end,
5055           which are being ignored.
5056
5057       Warning: something's wrong
5058           (W) You passed warn() an empty string (the equivalent of "warn """)
5059           or you called it with no args and $@ was empty.
5060
5061       Warning: unable to close filehandle %s properly
5062           (S) The implicit close() done by an open() got an error indication
5063           on the close().  This usually indicates your file system ran out of
5064           disk space.
5065
5066       Warning: Use of "%s" without parentheses is ambiguous
5067           (S ambiguous) You wrote a unary operator followed by something that
5068           looks like a binary operator that could also have been interpreted
5069           as a term or unary operator.  For instance, if you know that the
5070           rand function has a default argument of 1.0, and you write
5071
5072               rand + 5;
5073
5074           you may THINK you wrote the same thing as
5075
5076               rand() + 5;
5077
5078           but in actual fact, you got
5079
5080               rand(+5);
5081
5082           So put in parentheses to say what you really mean.
5083
5084       Wide character in %s
5085           (S utf8) Perl met a wide character (>255) when it wasn't expecting
5086           one.  This warning is by default on for I/O (like print).  The
5087           easiest way to quiet this warning is simply to add the ":utf8"
5088           layer to the output, e.g. "binmode STDOUT, ':utf8'".  Another way
5089           to turn off the warning is to add "no warnings 'utf8';" but that is
5090           often closer to cheating.  In general, you are supposed to
5091           explicitly mark the filehandle with an encoding, see open and
5092           "binmode" in perlfunc.
5093
5094       Within []-length '%c' not allowed
5095           (F) The count in the (un)pack template may be replaced by
5096           "[TEMPLATE]" only if "TEMPLATE" always matches the same amount of
5097           packed bytes that can be determined from the template alone.  This
5098           is not possible if it contains any of the codes @, /, U, u, w or a
5099           *-length.  Redesign the template.
5100
5101       write() on closed filehandle %s
5102           (W closed) The filehandle you're writing to got itself closed
5103           sometime before now.  Check your control flow.
5104
5105       %s "\x%X" does not map to Unicode
5106           (F) When reading in different encodings Perl tries to map
5107           everything into Unicode characters.  The bytes you read in are not
5108           legal in this encoding, for example
5109
5110               utf8 "\xE4" does not map to Unicode
5111
5112           if you try to read in the a-diaereses Latin-1 as UTF-8.
5113
5114       'X' outside of string
5115           (F) You had a (un)pack template that specified a relative position
5116           before the beginning of the string being (un)packed.  See "pack" in
5117           perlfunc.
5118
5119       'x' outside of string in unpack
5120           (F) You had a pack template that specified a relative position
5121           after the end of the string being unpacked.  See "pack" in
5122           perlfunc.
5123
5124       YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
5125           (F) And you probably never will, because you probably don't have
5126           the sources to your kernel, and your vendor probably doesn't give a
5127           rip about what you want.  Your best bet is to put a setuid C
5128           wrapper around your script.
5129
5130       You need to quote "%s"
5131           (W syntax) You assigned a bareword as a signal handler name.
5132           Unfortunately, you already have a subroutine of that name declared,
5133           which means that Perl 5 will try to call the subroutine when the
5134           assignment is executed, which is probably not what you want.  (If
5135           it IS what you want, put an & in front.)
5136
5137       Your random numbers are not that random
5138           (F) When trying to initialise the random seed for hashes, Perl
5139           could not get any randomness out of your system.  This usually
5140           indicates Something Very Wrong.
5141

SEE ALSO

5143       warnings, perllexwarn, diagnostics.
5144
5145
5146
5147perl v5.16.3                      2013-03-04                       PERLDIAG(1)
Impressum