in reply to script hanging at thread start

From perldoc threads

WARNING

The "interpreter-based threads" provided by Perl are not the fast, lightweight system for multitasking that one might expect or hope for. Threads are implemented in a way that makes them easy to misuse. Few people know how to use them correctly or will be able to provide help.

The use of interpreter-based threads in perl is officially discouraged.

Replies are listed 'Best First'.
Re^2: script hanging at thread start
by marto (Cardinal) on Nov 25, 2020 at 16:39 UTC

      Ouch! "It" is still there. Big surprise.

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Re^2: script hanging at thread start
by Bod (Parson) on Nov 26, 2020 at 23:06 UTC

    I know very little about threads but it strikes me that this problem is better suited to fork
    (assuming this is on a *IX OS)

    edit

    I've just reread the original question and it's Strawberry Perl which I believe implements fork with threads