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

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.

Replies are listed 'Best First'.
Re^4: strange error message
by dave_the_m (Monsignor) on Aug 22, 2008 at 13:02 UTC
    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.