For the client and worker components, you need to install the Gearman CPAN module, which includes the Gearman: : client and Gearman: : worker modules you need to create clients and workers.
对于客户机和工人组件,需要安装Gearman CPAN模块,其中包括Gearman: Client和Gearman: Worker模块,它们是您创建客户机和工人时需要用到的模块。
The first line loads the module, then you create a new Worker object.
第一行加载模块,然后您创建一个新的Worker对象。
应用推荐