Help for this page

Select Code to Download


  1. or download this
    Using open() for IPC
           Perl's basic open() statement can also be used for unidirection
    +al
    ...
                   print;
               }
               close STATUS || die "bad netstat: $! $?";
    
  2. or download this
    use IPC::Open3;
     $pid = open3(\*WTRFH, \*RDRFH, \*ERRFH,
                               'some cmd and args', 'optarg', ...);