Skip to main content

Posts

Showing posts from December, 2015

Perl - Process Management

Perl - Process Management You can use Perl in various ways to create new processes as per your requirements. This tutorial will list down few important and most frequently used methods of creating and managing Perl processes. ·         You can use special variables  $$  or  $PROCESS_ID  to get current process ID. ·         Every process created using any of the mentioned methods, maintains its own virtual environment with-in  %ENV  variable. ·         The  exit()  function always exits just the child process which executes this function and the main process as a whole will not exit unless all running child-processes have exited. ·         All open handles are dup()-ed in child-processes, so that closing any handles in one process does not affect the others. Backstick Operator This simplest ...