What modules should I look at for doing multithreading in Perl?

后端 未结 5 1380
迷失自我
迷失自我 2021-02-09 12:05

What modules should I look at for doing multithreading in Perl?

I\'m looking to do something fairly low performance; I want threads is to run multiple workers simultaneo

5条回答
  •  [愿得一人]
    2021-02-09 12:46

    Most recent versions of Perl have threading support. Run perl -V:usethreads to see if it is available in your system.

    $ perl -V:usethreads
    usethreads='define'
    

    perldoc threads gives a pretty good introduction to using them.

提交回复
热议问题