- or download this
use Log::Log4perl qw(:easy);
...
DEBUG "tick $_ from $id";
sleep(1);
}
- or download this
perl -E "say for 1..10" | xargs -n 1 -P 10 perl log_test.pl
- or download this
...
DEBUG - tick 1 from 4
...
DEBUG - tick 2 from 9
DEBUG - tick 2 from 10
...