NAME

perldiag - various perl diagnostics

DESCRIPTION

These need to be classed into -w warnings, mandatory warnings, fatals, unexpected panics, and deprecations.

av.c
        Can't unshift
        panic: null array
doio.c
        Can't open bidirectional pipe
        Warning: unable to close filehandle %s properly.\n
        Can't do inplace edit: %s is not a regular file
        Can't do inplace edit: %s > 14 characters
        Can't rename %s to %s: %s, skipping file
        Can't do inplace edit without backup
        Can't do inplace edit on %s: %s
        Can't open %s: %s\n
        Close on unopened file <%s>
        tell() on unopened file
        seek() on unopened file
        Stat on unopened file <%s>
        stat
        The stat preceding -l _ wasn't an lstat
        You can't use -l on a filehandle
        lstat
        Can't exec \"%s\": %s
        csh
        /bin/sh
        Unrecognized signal name \"%s\"
        %s not implemented
        Bad arg length for %s, is %d, should be %d
        Arg too short for msgsnd
        msgsnd not implemented
        Can't msgrcv to readonly var
        msgrcv not implemented
        semop not implemented
        shm I/O not implemented
doop.c
        panic: do_trans
        Bad symbol for array
        Bad symbol for hash
        Bad symbol for filehandle
        Recursive inheritance detected
        Can't locate package %s for @%s::ISA
        Global symbol \"%s\" requires explicit package name
        Use of $%s is deprecated
        Identifier \"%s::%s\" used only once: possible typo
        Attempt to free unreferenced glob pointers
        Not a subroutine reference in %%OVERLOAD
        Method for operation %s not found in package %.200s during blessing\n
        Operation `%s'%s%s%s: no method found,\n\t%sargument %s%.200s%s%s%.200s
hv.c
        Bad associative array
malloc.c
        assertion botched: %s\n
        Allocation too large: %lx\n
        panic: malloc
        Out of memory!\n
        Corrupt malloc ptr 0x%lx at 0x%lx\n
        %s free() ignored
        Bad free() ignored
        Reallocation too large: %lx\n
        panic: realloc
        0x%lx: (%05d) rfree\n
        0x%lx: (%05d) realloc %ld bytes\n
        Memory allocation statistics %s\nfree:\t
        \nused:\t
        \n\tTotal in use: %d, total free: %d\n
mg.c
        No such signal: SIG%s
        Can't break at that line\n
        setruid() not implemented
        seteuid() not implemented
        setrgid() not implemented
        setegid() not implemented
        SIG%s handler \"%s\" not defined.\n
op.c
        Missing comma after first argument to %s function
        Not enough arguments for %s
        Too many arguments for %s
        Type of arg %d to %s must be %s (not %s)
        Can't use %s as left arg of an implicit ->
        Can't use global %s in \"my\"
        %s never introduced
        panic: pad_alloc
        panic: pad_sv po
        panic: pad_free curpad
        panic: pad_free po
        panic: pad_swipe curpad
        panic: pad_swipe po
        panic: pad_reset curpad
        Found= in conditional, should be ==
        implicit split to @_
        Useless use of %s in void context
        That use of $[ is unsupported
        Can't modify %s in %s
        Can't declare %s in my
        Parens missing around \"%s\" list
        Module name must be constant
        Assignment to both a list and a scalar
        Probable precedence problem on %s
        Can't use %s for loop variable
        Can't undef active subroutine
        __ANON__";
        Subroutine %s redefined
        %s:%ld
        %ld
        Format %s redefined
        oops: oopsAV
        oops: oopsHV
        NOT IMPL LINE %d
        %s argument is not a HASH element
        Array @%s missing the @ in argument %d of %s()
        array
        Hash %%%s missing the %% in argument %d of %s()
        hash
        panic: ck_grep
        panic: ck_split
        Statement unlikely to be reached
        (Maybe you meant system() when you said exec()?)\n
perl.c
        Unbalanced scopes: %d more ENTERs than LEAVEs\n
        Unbalanced saves: %d more saves than restores\n
        Unbalanced tmps: %d more allocs than frees\n
        Unbalanced context: %d more PUSHes than POPs\n
        Scalars leaked: %d\n
        suidperl is no longer needed since the kernel can now execute\n\
        panic: top_env\n
        No -e allowed in setuid scripts
        Can't mktemp()
        Cannot open temporary file
        -I
        -P
        -S
        Unrecognized switch: -%s
        Can't write to temp file for -e: %s
        %s had compilation errors.\n
        Execution of %s aborted due to compilation errors.\n
        panic: restartop\n
        %s syntax OK\n
        Callback called exit
        -d
        -D
        Recompile perl with -DDEBUGGING to use -D switch\n
        No space allowed after -I
        -s
        \nThis is perl, version 5.0, Beta 3f\n\n
        \nCopyright (c) 1989, 1990, 1991, 1992, 1993, 1994 Larry Wall\n
        MS-DOS port Copyright (c) 1989, 1990, Diomidis Spinellis\n
        OS/2 port Copyright (c) 1990, 1991, Raymond Chen, Kai Uwe Rommel\n
        atariST series port, ++jrb  bammi@cadence.com\n
        Can't emulate -%.1s on #! line
        unexec of %s into %s failed!\n
        Can't execute %s
        Can't do seteuid!\n
        program input from stdin
        Can't do setuid\n
        Can't open perl script \"%s\": %s\n
        Can't stat script \"%s\"
        Permission denied
        Can't swap uid and euid
        Permission denied\n
        Can't reswap uid and euid
        Setuid/gid script is writable by world
        No #! line
        Not a perl script
        Args must match #! line
        YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!\n\
        %s/sperl%s
        Can't do setegid!\n
        -P not allowed for setuid/setgid script\n
        Script is not setuid/setgid in suidperl\n
        -x
        No Perl script found in input\n
        perl
        perl -
        Can't chdir to %s
        0
        PERL5LIB
        PERLLIB
        %sBEGIN failed--execution aborted
        %sEND failed--execution aborted
        BEGIN failed--execution aborted
        END failed--execution aborted
perl.h
        Assertion failed: file \"%s\
        Use of uninitialized value
        Semicolon seems to be missing
        Unquoted string \"%s\" may clash with future reserved word
        Unsuccessful %s on filename containing newline
        Can't use %s ref as %s ref
        Can't use a string as %s ref while \"strict refs\" in use
        Can't use an undefined value as %s reference
        Modification of non-creatable array value attempted, subscript %d
        Modification of non-creatable hash value attempted, subscript \"%s\"
        Modification of a read-only value attempted
        Insecure dependency in %s%s
        Unsupported socket function \"%s\" called
        Unsupported directory function \"%s\" called
        The %s function is unimplemented
perly.c
        illegal-symbol";
        yydebug: state %d, reading %d (%s)\n
        yydebug: state %d, shifting to state %d\n
        syntax error
        yydebug: state %d, error recovery discards token %d (%s)\n
        yydebug: state %d, reducing by rule %d (%s)\n
        Out of memory for yacc stack
perly.y
        \"do\" to call subroutines
pp.c
        Not a GLOB reference
        a symbol
        Not a SCALAR reference
        a SCALAR
        do_study: out of memory
        Illegal division by zero
        Illegal modulus zero
        Can't x= to readonly value
        Can't take log of %g
        Can't take sqrt of %g
        substr outside of string
        The crypt() function is unimplemented due to excessive paranoia.
        Not a HASH reference
        Odd number of elements in hash list
        @ outside of string
        X outside of string
        x outside of string
        %% may only be used in unpack
        panic: do_split
        Split loop
pp_ctl.c
        Substitution loop
        Not enough format arguments
        Runaway format
        panic: mapstart
        Xsub \"%s\" called in sort
        Undefined sort subroutine \"%s\" called
        Xsub called in sort
        Undefined subroutine in sort
        Not a CODE reference in sort
        Exiting substitution via %s
        Exiting subroutine via %s
        Exiting eval via %s
        Exiting substitition via %s
        panic: die %s
        Sort subroutine didn't return single value
        Sort subroutine didn't return a numeric value
        No DB::DB routine defined
        Can't return outside a subroutine
        panic: return
        Can't \"last\" outside a block
        Label not found for \"last %s\"
        panic: last
        Can't \"next\" outside a block
        Label not found for \"next %s\"
        Can't \"redo\" outside a block
        Label not found for \"redo %s\"
        Can't goto subroutine outside a subroutine
        Deep recursion on subroutine \"%s\"
        goto must have label
        panic: goto
        Can't find label %s
        Perl %3.3f required--this is only version %s, stopped
        Null filename used
        Can't locate %s in @INC
        %s
        _<(eval %d)
        %s did not return a true value
pp_hot.c
        Filehandle %s never opened
        Filehandle %s opened only for input
        print on closed filehandle %s
        Not an ARRAY reference
        an ARRAY
        a HASH
        No setreuid available
        No setregid available
        panic: do_match
        w+
        Read on closed filehandle <%s>
        panic: pp_iter
        panic: do_subst
        Not a CODE reference
        a subroutine
        Undefined subroutine &%s called
        Undefined subroutine called
        No DBsub routine
        Can't call method \"%s\" without a package or object reference
        Can't call method \"%s\" in empty package \"%s\"
        Can't locate object method \"%s\" via package \"%s\"
        Can't call method \"%s\" on unblessed reference
pp_sys.c
        pipe
        Unsupported function umask
        No dbm on this machine
        select not implemented
        Undefined format \"%s\" called
        Not a format reference
        Filehandle only opened for input
        Write on closed filehandle
        page overflow
        printf on closed filehandle %s
        Negative length
        recv
        Syswrite on closed filehandle
        Send on closed socket
        send
        truncate not implemented
        ioctl is not implemented
        fcntl is not implemented
        Possible memory corruption: %s overflowed 3rd argument
        flock()
        socket
        socketpair
        bind() on closed fd
        bind
        connect() on closed fd
        connect
        listen() on closed fd
        listen
        accept() on closed fd
        accept
        shutdown() on closed fd
        shutdown
        getsockopt
        [gs]etsockopt() on closed fd
        setsockopt
        getsockname
        get{sock, peer}name() on closed fd
        getpeername
        -T and -B not implemented on filehandles
        Test on unopened file <%s>
        Unsupported function chown
        chroot
        Unsupported function link
        symlink
        NoErRoR
        mkdir
        rmdir
        opendir
        readdir
        telldir
        seekdir
        rewinddir
        closedir
        Unsupported function fork
        Unsupported function wait
        Unsupported function kill
        getppid
        POSIX getpgrp can't take an argument
        getpgrp()
        setpgrp()
        getpriority()
        setpriority()
        times not implemented
        %s %s %2d %02d:%02d:%02d %d
        Unsupported function alarm
        System V IPC is not implemented on this machine
        gethostbyname
        gethostbyaddr
        gethostent not implemented
        gethostent
        getnetbyname
        getnetbyaddr
        getnetent
        getprotobyname
        getprotobynumber
        getprotoent
        getservbyname
        getservbyport
        getservent
        sethostent
        setnetent
        setprotoent
        setservent
        endhostent
        endnetent
        endprotoent
        endservent
        getpwnam
        getpwuid
        getpwent
        setpwent
        endpwent
        getgrnam
        getgrgid
        getgrent
        setgrent
        endgrent
        getlogin
        Too many args to syscall
        Too few args to syscall
        syscall
regcomp.c
        NULL regexp argument
        regexp too big
        regexp out of space
        Sequence (?%c...) not implemented
        Sequence (?#... not terminated
        Sequence (?%c...) not recognized
        unmatched () in regexp
        junk on end of regexp
        Can't do {n,m} with n > m
        %.*s matches null string many times
        nested *?+ in regexp
        internal urp in regexp at /%s/
        ?+* follows nothing in regexp
        trailing \\ in regexp
        internal disaster in regexp
        invalid [] range in regexp
        unmatched [] in regexp
        %2d%s
        (0)
        (%d)
        start `%s' 
        stclass `%s' 
        anchored 
        plus 
        implicit 
        must have \"%s\" back %ld 
        minlen %ld 
        \n
        CURLY {%d,%d}
        CURLYX {%d,%d}
        REF%d
        OPEN%d
        CLOSE%d
        corrupted regexp opcode
regcomp.h
        /%s/: %s
regexec.c
        NULL regexp parameter
        corrupted regexp program
        %2d%-8.8s\t<%.10s>\n
        %x %d\n
        regexp memory corruption
        corrupted regexp pointers
run.c
        NULL OP IN RUN
        WARNING: %lx changed from %lx to %lx\n
        (%s)
        (NULL)
        WATCHING, %lx is currently %lx\n
        %d\t%lu\n
scope.c
        panic: corrupt saved stack index
        panic: leave_scope clearsv
        panic: leave_scope inconsistency
        CX %d= %s\n
        BLK_OLDSP= %ld\n
        BLK_OLDCOP= 0x%lx\n
        BLK_OLDMARKSP= %ld\n
        BLK_OLDSCOPESP= %ld\n
        BLK_OLDRETSP= %ld\n
        BLK_OLDPM= 0x%lx\n
        BLK_GIMME= %s\n
        BLK_SUB.CV= 0x%lx\n
        BLK_SUB.GV= 0x%lx\n
        BLK_SUB.DFOUTGV= 0x%lx\n
        BLK_SUB.OLDDEPTH= %ld\n
        BLK_SUB.HASARGS= %d\n
        BLK_EVAL.OLD_IN_EVAL= %ld\n
        BLK_EVAL.OLD_OP_TYPE= %s\n
        BLK_EVAL.OLD_NAME= %s\n
        BLK_EVAL.OLD_EVAL_ROOT= 0x%lx\n
        BLK_LOOP.LABEL= %s\n
        BLK_LOOP.RESETSP= %ld\n
        BLK_LOOP.REDO_OP= 0x%lx\n
        BLK_LOOP.NEXT_OP= 0x%lx\n
        BLK_LOOP.LAST_OP= 0x%lx\n
        BLK_LOOP.ITERIX= %ld\n
        BLK_LOOP.ITERARY= 0x%lx\n
        BLK_LOOP.ITERVAR= 0x%lx\n
        BLK_LOOP.ITERSAVE= 0x%lx\n
        SB_ITERS= %ld\n
        SB_MAXITERS= %ld\n
        SB_SAFEBASE= %ld\n
        SB_ONCE= %ld\n
        SB_ORIG= %s\n
        SB_DSTR= 0x%lx\n
        SB_TARG= 0x%lx\n
        SB_S= 0x%lx\n
        SB_M= 0x%lx\n
        SB_STREND= 0x%lx\n
        SB_SUBBASE= 0x%lx\n
sv.c
        Attempt to free non-arena SV: 0x%lx
        ****\n
        Can't upgrade that kind of scalar
        Can't upgrade to undef
        CV(%s)
        (%ld+\"%.127s\
        (\"%.127s\
        (%g)
        (%ld)
        Can't coerce %s to integer in %s
        Can't coerce %s to number in %s
        Argument \"%s\" isn't numeric for %s
        Argument \"%s\" isn't numeric
        %s=%s(0x%lx)
        %s(0x%lx)
        Don't know how to handle magic of type '%c'
        Can't modify non-existent substring
        panic: sv_insert
        Reference miscount in sv_replace()
        Attempt to free unreferenced scalar
        Attempt to free temp prematurely
        semi-panic: attempt to dup freed string
        Not a subroutine reference
        Can't coerce %s to string in %s
        Can't bless non-reference value
        SV= 0\n
        (0x%lx)\n  REFCNT= %ld\n  FLAGS = (
        SV= 
        NULL%s\n
        IV%s\n
        NV%s\n
        RV%s\n
        PV%s\n
        PVIV%s\n
        PVNV%s\n
        PVBM%s\n
        PVMG%s\n
        PVLV%s\n
        PVAV%s\n
        PVHV%s\n
        PVCV%s\n
        PVGV%s\n
        PVFM%s\n
        PVIO%s\n
        UNKNOWN%s\n
          IV= %ld\n
          NV= %.*g\n
          RV= 0x%lx\n
          PV= 0x%lx \"%s\"\n  CUR = %ld\n  LEN = %ld\n
          PV= 0\n
          MAGIC= 0x%lx\n
          STASH= %s\n
          TYPE= %c\n
          TARGOFF= %ld\n
          TARGLEN= %ld\n
          TARG= 0x%lx\n
          ARRAY= 0x%lx\n
          ALLOC= 0x%lx\n
          FILL= %ld\n
          MAX= %ld\n
          ARYLEN= 0x%lx\n
          FLAGS= (REAL)\n
          FLAGS= ()\n
          KEYS= %ld\n
          RITER= %ld\n
          EITER= 0x%lx\n
          PMROOT= 0x%lx\n
          NAME= \"%s\"\n
          STASH= 0x%lx\n
          START= 0x%lx\n
          ROOT= 0x%lx\n
          XSUB= 0x%lx\n
          XSUBANY= %ld\n
          FILEGV= 0x%lx\n
          DEPTH= %ld\n
          PADLIST= 0x%lx\n
          LINES= %ld\n
          NAME= %s\n
          NAMELEN= %ld\n
          GP= 0x%lx\n
            SV= 0x%lx\n
            REFCNT= %ld\n
            IO= 0x%lx\n
            FORM= 0x%lx\n
            AV= 0x%lx\n
            HV= 0x%lx\n
            CV= 0x%lx\n
            CVGEN= 0x%lx\n
            LASTEXPR= %ld\n
            LINE= %ld\n
            FLAGS= 0x%x\n
            STASH= 0x%lx\n
            EGV= 0x%lx\n
          IFP= 0x%lx\n
          OFP= 0x%lx\n
          DIRP= 0x%lx\n
          PAGE= %ld\n
          PAGE_LEN= %ld\n
          LINES_LEFT= %ld\n
          TOP_NAME= %s\n
          TOP_GV= 0x%lx\n
          FMT_NAME= %s\n
          FMT_GV= 0x%lx\n
          BOTTOM_NAME= %s\n
          BOTTOM_GV= 0x%lx\n
          SUBPROCESS= %ld\n
          FLAGS= 0x%lx\n
        Bad filehandle: %s
        filehandle
taint.c
        No %s allowed while running setuid
        No %s allowed while running setgid
        Insecure directory in %s%s
        Insecure %s%s
toke.c
        %s found where operator expected
        \t(Missing semicolon on previous line?)\n
        Can't find string terminator %c%s%c anywhere before EOF
        Use of %s is deprecated
        comma-less variable list
        Warning: Use of \"%s\" without parens is ambiguous
        \\.^$@AGZdDwWsSbB+*?|()-nrtfeaxc0123456789[{]}"
        \\%c better written as $%c
        '])
        PERL5DB
        panic: INTERPCASEMOD
        panic: yylex
        \"
        , ...) */
        panic: INTERPCONCAT
        ### Tokener expecting %s at %s\n
        Unrecognized character \\%03o ignored
        Missing right bracket
        @F=split(%s);
        @F=split('%s');
        Can't exec %s
        \"my\" variable %s can't be in a package
        Unmatched right bracket
        ') {
        Reversed %c= operator
        Array length
        Scalar
        Multidimensional syntax %.*s not supported
        Final $ should be \\$ or $name
        Array
        Literal @%s now requires backslash
        Scalar value %.*s better written as $%.*s
        Final @ should be \\@ or @name
        Number
        String
        Backticks
        Backslash
        Bad symbol
        Bare word
        chmod: mode argument is missing initial 0
        Missing $ on loop variable
        \"no\" not allowed in expression
        Precedence problem: open %.*s should be open(%.*s)
        subroutine name
        sort is now a reserved word
        umask: argument is missing initial 0
        \"use\" not allowed in expression
        %s (...) interpreted as function
        No comma allowed after %s
        Can't use delimiter brackets within expression
        Search pattern not terminated
        Substitution pattern not terminated
        Substitution replacement not terminated
        Translation pattern not terminated
        Translation replacement not terminated
        Unterminated <> operator
        Glob not terminated
        panic: scan_num
        Illegal octal digit
        Misplaced _ in number
        Format not terminated
        %s at %s line %d, %s\n
          (Might be a runaway multi-line %c%c string starting on line %ld)\n
        %s has too many errors.\n
util.c
        Null realloc
        0x%x: (%05d) rfree\n
        0x%x: (%05d) realloc %ld bytes\n
        %2d %2d\t%ld\n
         at %s line %ld
        , <%s> %s %ld
        Unknown BYTEORDER\n
        Can't fork
        Can't do waitpid with flags