Files
ljr/wcmtools/gearman/dev/dmap.pl
2019-02-06 00:49:12 +03:00

14 lines
175 B
Perl
Executable File

#!/usr/bin/perl
use strict;
use DMap;
DMap::set_job_servers("localhost", "sammy", "kenny");
my @foo = dmap { "$_ = " . `hostname` } (1..10);
print "dmap says:\n @foo";