in reply to Re: strange error message
in thread strange error message

From perldiag
Can't coerce %s to string in %s (F) Certain types of SVs, in particular real symbol table entries (typ +eglobs), can't be forced to stop being what they are.
So I'm guessing its a bug in InputBox (whatever that is), or if one of the variables is overloaded, in one of them

Replies are listed 'Best First'.
Re^3: strange error message
by Narveson (Chaplain) on Aug 22, 2008 at 10:32 UTC

    And since this error message template was instantiated as

    Can't coerce UNKNOWN to string in gv at sked.test.pl line 486

    esr would be well advised to search the program text for the strings UNKNOWN and gv.

    Later

    ... or to wait for a better-informed response. Thanks, dave_the_m.

      The "UNKNOWN" means that the SV being stringified was not a valid type - so either its a freed SV, or a corrupted SV. Which means it's either a bug in perl or some XS code, or the OP is doing something which is known to screw up at the Perl level, like modifying an array while iterating over it or using it as function arg.

      Dave.