Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have built Perl with thread support and trying to eval a perl script from another one. The first script uses extensions like POSIX, FileHandle etc. The second one is invoked from a C program. This setup is giving panic: top_env when I try to run. If i comment out all the use statements from the first script it doesn't throw this error. Please help, thanks,jay.

Replies are listed 'Best First'.
Re (tilly) 1: Perl with Thread and using extensions.
by tilly (Archbishop) on Mar 27, 2001 at 23:37 UTC
    Perl with thread support is labelled experimental for good reason. Unless you care to debug the problems with threading, I recommend rebuilding Perl without threading and starting over.

    Note that the final threading model in 6.0 is likely to be unlike the models in 5.005 and 5.6 (which differ from each other as well IIRC.)