This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Parallel::ForkManager 1.7.6; | |
use Data::Dumper; | |
use POSIX qw(setuid setgid); | |
use File::Temp; | |
# We make a temp tmp dir in memory (/dev/shm/) instead of built in /tmp/ (for speedy access) | |
my $tmpdir = mkdtemp("/dev/shm/$0.XXXXXXXXX") ; |