Help for this page

Select Code to Download


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